Skip to content

Commit

Permalink
Bump docker/build-push-action to 6 and filter artifacts to release (#6)
Browse files Browse the repository at this point in the history
* Bump docker/build-push-action to 6 and filter artifacts to release

* Bump docker/build-push-action to 6 and filter artifacts to release

* Clean up
  • Loading branch information
deluan authored Oct 11, 2024
1 parent c092955 commit 7d05334
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,16 @@ 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@v5
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile
Expand All @@ -61,7 +69,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: ${{ env.PLATFORM }}
name: taglib-${{ env.PLATFORM }}
path: ./dist
retention-days: 7

Expand All @@ -74,6 +82,7 @@ jobs:
uses: actions/download-artifact@v4
with:
path: ./dist
pattern: taglib-*
merge-multiple: true

- run: ls -lR ./dist
Expand Down

0 comments on commit 7d05334

Please sign in to comment.