Skip to content

Commit

Permalink
few improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp committed Aug 20, 2024
1 parent 6b0d2d7 commit 0f21a9b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,16 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: bcgov-nr/action-builder-ghcr@v2.0.2
- uses: bcgov-nr/action-builder-ghcr@v2.2.0
with:
package: ${{ matrix.package }}
tag: ${{ needs.semantic-release.outputs.tag }}
tag: ${{ needs.semantic-release.outputs.version }}
token: ${{ secrets.GITHUB_TOKEN }}
build_file: ${{ matrix.build_file }}
build_context: ${{ matrix.build_context }}
triggers: ${{ matrix.triggers }}
build_args: |
APP_VERSION=${{ needs.semantic-release.outputs.tag }}
APP_VERSION=${{ needs.semantic-release.outputs.version }}
helm-release:
runs-on: ubuntu-22.04
needs: [builds,semantic-release]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: bcgov-nr/action-builder-ghcr@v2.0.2
- uses: bcgov-nr/action-builder-ghcr@v2.2.0
with:
package: ${{ matrix.package }}
tag: ${{ github.event.number }}
Expand All @@ -57,7 +57,7 @@ jobs:
secret_path_env: dev # this path is different from the path in the broker
steps:
- uses: actions/checkout@v4

- name: Deploy to Openshift
working-directory: charts/nr-oracle-service
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN ./mvnw package -Pnative -DskipTests
#RUN ./mvnw package -DskipTests for JVM mode
HEALTHCHECK --interval=300s --timeout=30s CMD ./mvnw --version || exit 1
###
FROM quay.io/quarkus/quarkus-micro-image:2.0
FROM quay.io/quarkus/quarkus-micro-image:2.0 as deploy

Check warning on line 20 in Dockerfile

View workflow job for this annotation

GitHub Actions / Builds (nr-oracle-service)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /work/
RUN chown 1001 /work \
&& chmod "g+rwX" /work \
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.certs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#This Dockerfile mounts the certs
FROM eclipse-temurin:21.0.4_7-jdk-alpine AS buildCert
FROM eclipse-temurin:21.0.4_7-jdk-alpine AS build-cert

ENV LANG en_CA.UTF-8
ENV LANGUAGE en_CA.UTF-8
ENV LC_ALL en_CA.UTF-8
ENV LANG=en_CA.UTF-8
ENV LANGUAGE=en_CA.UTF-8
ENV LC_ALL=en_CA.UTF-8
WORKDIR /app

RUN apk --no-cache add openssl
Expand Down

0 comments on commit 0f21a9b

Please sign in to comment.