Skip to content

Commit

Permalink
Update alpine.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dogi authored Sep 22, 2023
1 parent eeb3099 commit 34fde65
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ jobs:
basesha=$(docker image inspect $base | jq --raw-output '.[0].RootFS.Layers|.[]')
reposha=$(docker image inspect $repo | jq --raw-output '.[0].RootFS.Layers|.[]')
echo "base sha:$basesha repo sha:$reposha"
${{ github.event.inputs.buildtype == 'force' }} && echo "::set-output name=flag::true" || echo "building on change"
[[ $reposha == *$basesha* ]] && echo "no changes" || echo "::set-output name=flag::true"
${{ github.event.inputs.buildtype == 'force' }} && echo "flag=true" >> $GITHUB_ENV || echo "building on change"
[[ $reposha == *$basesha* ]] && echo "no changes" || echo "flag=true" >> $GITHUB_ENV
images:
needs: compare
Expand Down Expand Up @@ -126,7 +127,7 @@ jobs:
docker manifest inspect $repo:latest
docker manifest push $repo:latest
docker manifest push $repo:$date
echo "::set-output name=send::true"
echo "send=true" >> $GITHUB_ENV
message:
needs: manifests
Expand Down

0 comments on commit 34fde65

Please sign in to comment.