From 7d053340af2de17294929074c2c65feed8d7efa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deluan=20Quint=C3=A3o?= Date: Fri, 11 Oct 2024 09:39:33 -0400 Subject: [PATCH] Bump docker/build-push-action to 6 and filter artifacts to release (#6) * 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 --- .github/workflows/ci.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2cca486..f74ba67 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -61,7 +69,7 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: ${{ env.PLATFORM }} + name: taglib-${{ env.PLATFORM }} path: ./dist retention-days: 7 @@ -74,6 +82,7 @@ jobs: uses: actions/download-artifact@v4 with: path: ./dist + pattern: taglib-* merge-multiple: true - run: ls -lR ./dist