Skip to content

Commit

Permalink
Update build-tag.yml
Browse files Browse the repository at this point in the history
Fix image tag creation
  • Loading branch information
andreabattaglia authored Jul 4, 2022
1 parent 53d66db commit 53db911
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: |
docker run --rm --privileged multiarch/qemu-user-static:register --reset
docker build --build-arg BASE_MULTIARCH_VERSION=${BASE_MULTIARCH_VERSION} --build-arg ARCH=${ARCH} --build-arg JAVA_VERSION=11 -t "${DOCKER_CONTAINER}:${{ steps.get_version.outputs.VERSION }}-java11" --platform ${DOCKER_ARCH} --pull -f Dockerfile.multiarch-aarch64 .
docker tag $DOCKER_CONTAINER:$PROJECT_VERSION $DOCKER_CONTAINER:latest-java11
docker tag $DOCKER_CONTAINER:${{ steps.get_version.outputs.VERSION }}-java11 $DOCKER_CONTAINER:latest-java11
- name: Push To Quay - Java 11
id: push-to-quay-java11
uses: redhat-actions/push-to-registry@v2
Expand All @@ -42,7 +42,7 @@ jobs:
run: |
docker run --rm --privileged multiarch/qemu-user-static:register --reset
docker build --build-arg BASE_MULTIARCH_VERSION=${BASE_MULTIARCH_VERSION} --build-arg ARCH=${ARCH} --build-arg JAVA_VERSION=17 -t "${DOCKER_CONTAINER}:${{ steps.get_version.outputs.VERSION }}-java17" --platform ${DOCKER_ARCH} --pull -f Dockerfile.multiarch-aarch64 .
docker tag $DOCKER_CONTAINER:$PROJECT_VERSION $DOCKER_CONTAINER:latest-java17
docker tag $DOCKER_CONTAINER:${{ steps.get_version.outputs.VERSION }}-java17 $DOCKER_CONTAINER:latest-java17
- name: Push To Quay - Java 17
id: push-to-quay-java17
uses: redhat-actions/push-to-registry@v2
Expand Down

0 comments on commit 53db911

Please sign in to comment.