Skip to content

Commit

Permalink
Bump docker/build-push-action to 6 and filter artifacts to release
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Oct 11, 2024
1 parent 6c83655 commit 7f01b5b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,18 @@ jobs:
echo "TAGLIB_VERSION=$TAGLIB_VERSION" >> $GITHUB_ENV
echo "TAGLIB_SHA=$TAGLIB_SHA" >> $GITHUB_ENV
- name: Set DOCKER_BUILD_SUMMARY
run: |
if [[ ${{ github.ref }} == refs/tags/v* ]]; then
echo "DOCKER_BUILD_SUMMARY=false" >> $GITHUB_ENV
else
echo "DOCKER_BUILD_SUMMARY=true" >> $GITHUB_ENV
fi
- name: Build
uses: docker/build-push-action@v6
env:
DOCKER_BUILD_SUMMARY: ${{ env.DOCKER_BUILD_SUMMARY }}
with:
context: .
file: Dockerfile
Expand Down

0 comments on commit 7f01b5b

Please sign in to comment.