From 74c42e6090c412d00e4ee671418ee208dc03a31b Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Tue, 23 Apr 2024 16:34:33 +0200 Subject: [PATCH] Fix Docker promote (#25) --- .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..3787ee8 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