Skip to content

Commit

Permalink
Update check-for-updates.yml
Browse files Browse the repository at this point in the history
Signed-off-by: John Osborne <josborne@chainguard.dev>
  • Loading branch information
johnfosborneiii authored Nov 18, 2024
1 parent b37c586 commit 477c63e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/check-for-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
chainctl auth configure-docker
- name: 'ENV Setup'
- name: 'Env Setup'
run: |
echo "REDIS_IMAGE_FULL_REF=${{ env.REDIS_IMAGE }}:${{ env.REDIS_IMAGE_TAG }}" >> $GITHUB_ENV
Expand All @@ -59,6 +59,7 @@ jobs:
with:
name: redis-image-digest
path: digest.txt
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Compare digests
id: compare_digests
Expand All @@ -80,10 +81,12 @@ jobs:
run: echo "${{ env.CURRENT_DIGEST }}" > digest.txt

- name: Upload current digest as artifact
if: env.DIGEST_CHANGED == 'true'
uses: actions/upload-artifact@v4
with:
name: redis-image-digest
path: digest.txt
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run chainctl images diff
if: env.DIGEST_CHANGED == 'true'
Expand Down

0 comments on commit 477c63e

Please sign in to comment.