From 092f135a035bc1bf4a0925e10f00ca4d715fb330 Mon Sep 17 00:00:00 2001 From: gigirassy Date: Mon, 20 Oct 2025 04:47:03 +0200 Subject: [PATCH] Update .github/workflows/docker-publish.yml --- .github/workflows/docker-publish.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 16d99a2..02b1929 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -16,7 +16,7 @@ jobs: outputs: tag: ${{ steps.set_tag.outputs.TAG }} steps: - - name: Checkout (full) + - name: Checkout (full history required for tagging) uses: actions/checkout@v4 with: fetch-depth: 0 @@ -67,14 +67,15 @@ jobs: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} \ go build -o ${OUT}/pinata-${{ matrix.goos }}-${{ matrix.goarch }}${EXT} ./ - - name: Package (linux example) + - name: Package (example for linux) if: matrix.goos == 'linux' run: | tar -czf pinata-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz build-artifacts/pinata-${{ matrix.goos }}-${{ matrix.goarch }} - - name: Upload artifacts to Release - uses: softprops/action-gh-release@v1 + - name: Upload artifacts to the Release + uses: ncipollo/release-action@v1 with: + tag: ${{ needs.prepare_release.outputs.tag }} files: | build-artifacts/* *.tar.gz