Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates
Browse files Browse the repository at this point in the history
PhilDigitalJustice committed Oct 18, 2023
1 parent 9c49598 commit 1059ea1
Showing 2 changed files with 5 additions and 10 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/push-branch-test.yml
Original file line number Diff line number Diff line change
@@ -113,19 +113,14 @@ jobs:
APP_VERSION: ${{ needs.build-test-publish.outputs.app_version }}
run: |
echo "Captured version: ${{ env.APP_VERSION }}"
docker build --build-arg VERSION=${{ env.APP_VERSION }} -t $REGISTRY/$REPOSITORY:${{ env.IMAGE_TAG }} .
docker build --build-arg app_version=${{ env.APP_VERSION }} -t $REGISTRY/$REPOSITORY:${{ env.IMAGE_TAG }} .
docker push $REGISTRY/$REPOSITORY:${{ env.IMAGE_TAG }}
- name: delete artifact
uses: geekyeggo/delete-artifact@v2
with:
name: data-api-jar

- name: delete artifact
uses: geekyeggo/delete-artifact@v2
with:
name: data-api-jar

update-helm-chart:
needs: [ ecr, define-image-tag ]
runs-on: ubuntu-latest
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM eclipse-temurin:17

# Use a build argument for version
ARG VERSION=0.0.1-SNAPSHOT
ARG app_version=0.0.1-SNAPSHOT

FROM eclipse-temurin:17
VOLUME /tmp

RUN echo ${VERSION}
COPY data-service-${VERSION}.jar laa-ccms-caab-ebs-api.jar
COPY data-service-${app_version}.jar laa-ccms-caab-ebs-api.jar

EXPOSE 8080
RUN addgroup --system --gid 800 customgroup \

0 comments on commit 1059ea1

Please sign in to comment.