Skip to content

Commit

Permalink
ci(pr): fix image tagging workflow (#1195)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored Jan 2, 2024
1 parent e08d67a commit fd24e9f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,13 @@ jobs:
git fetch origin pull/${{ env.PR_num }}/head:pr-${{ env.PR_num }}
git checkout pr-${{ env.PR_num }}
popd
mvn -B -U -Dmaven.test.skip=true clean package
- name: Tag cryostat image
run: podman tag cryostat ghcr.io/${{ github.repository_owner }}/cryostat-web:pr-${{ env.PR_num }}-${{ env.head_sha }}
mvn -B -U \
-Dmaven.test.skip=true \
-Dquarkus.container-image.registry=ghcr.io \
-Dquarkus.container-image.group=${{ github.repository_owner }} \
-Dquarkus.container-image.name=cryostat-web \
-Dquarkus.container-image.tag=pr-${{ env.PR_num }}-${{ env.head_sha }} \
clean package
- name: Push PR test image to ghcr.io
id: push-to-ghcr
uses: redhat-actions/push-to-registry@v2
Expand Down

0 comments on commit fd24e9f

Please sign in to comment.