Skip to content

Commit

Permalink
update workflow13
Browse files Browse the repository at this point in the history
  • Loading branch information
phynias committed Apr 3, 2024
1 parent 7a4a404 commit 200c8ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-build-on-base-image-change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
type: boolean

jobs:
build:
check-build:
runs-on: ubuntu-latest
steps:

Expand All @@ -28,7 +28,7 @@ jobs:

- name: Check if the base image has been updated
run: |
LATEST_DIGEST=$(docker inspect --format='{{.RootFS}}' pihole/pihole:latest)
LATEST_DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' pihole/pihole:latest)
echo "LATEST_DIGEST=$LATEST_DIGEST" >> $GITHUB_ENV
echo "BASE_IMAGE_UPDATED=false" >> $GITHUB_ENV
if [[ "$LATEST_DIGEST" != "$${{ vars.BASE_IMAGE_DIGEST }}" ]]; then
Expand Down

0 comments on commit 200c8ff

Please sign in to comment.