Skip to content

Commit

Permalink
ci(pr): print local container images after build (#1196)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored Jan 2, 2024
1 parent fd24e9f commit 8b71307
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ jobs:
with:
name: cryostat-core
path: /home/runner/.m2/repository/io/cryostat/cryostat-core/
- run: |
- name: Build Cryostat application image
id: build-cryostat-image
run: |
git submodule init
git submodule update --remote
pushd src/main/webui
Expand All @@ -140,13 +142,14 @@ jobs:
-Dquarkus.container-image.name=cryostat-web \
-Dquarkus.container-image.tag=pr-${{ env.PR_num }}-${{ env.head_sha }} \
clean package
podman images
- name: Push PR test image to ghcr.io
id: push-to-ghcr
uses: redhat-actions/push-to-registry@v2
with:
registry: ghcr.io/${{ github.repository_owner }}
image: cryostat-web
tags: pr-${{ env.PR_num }}-${{ env.head_sha }}
registry: ghcr.io/${{ github.repository_owner }}
username: ${{ github.event.comment.user.login }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Comment test image link
Expand Down

0 comments on commit 8b71307

Please sign in to comment.