From 0a264655548b015b1c7bc56d6e417c4a3eaa4c0b Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Wed, 24 Apr 2024 21:44:14 +0300 Subject: [PATCH] Fix Docker promote --- .github/workflows/docker-promote.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-promote.yml b/.github/workflows/docker-promote.yml index da2d7d2..c053ce1 100644 --- a/.github/workflows/docker-promote.yml +++ b/.github/workflows/docker-promote.yml @@ -17,6 +17,10 @@ jobs: ci-docker: runs-on: ubuntu-latest steps: + - name: Set output + id: vars + run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT + - uses: cloudposse/github-action-docker-promote@0.3.0 id: promote with: @@ -27,5 +31,5 @@ jobs: password: "${{ secrets.GITHUB_TOKEN }}" platforms: linux/amd64,linux/arm64 from: sha-${{ github.sha }} - to: ${{ github.event.release.tag_name }} - use_metadata: false \ No newline at end of file + to: ${{ steps.vars.outputs.tag }} + use_metadata: false