diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ec01f9..845aee4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -68,7 +78,7 @@ jobs: release: needs: build runs-on: ubuntu-latest -# if: startsWith(github.ref, 'refs/tags/') + if: startsWith(github.ref, 'refs/tags/') steps: - name: Download artifact uses: actions/download-artifact@v4