From 13f1860b4cb67f45f80ed82674121c264b7c92f5 Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Wed, 24 Apr 2024 20:48:45 +0200 Subject: [PATCH] Fix Docker promote (#29) --- .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