Skip to content

Commit 74c42e6

Browse files
authored
Fix Docker promote (#25)
1 parent b0f0b58 commit 74c42e6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/docker-promote.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
ci-docker:
1818
runs-on: ubuntu-latest
1919
steps:
20+
- name: Set output
21+
id: vars
22+
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
23+
2024
- uses: cloudposse/[email protected]
2125
id: promote
2226
with:
@@ -27,5 +31,5 @@ jobs:
2731
password: "${{ secrets.GITHUB_TOKEN }}"
2832
platforms: linux/amd64,linux/arm64
2933
from: sha-${{ github.sha }}
30-
to: ${{ github.event.release.tag_name }}
31-
use_metadata: false
34+
to: ${{ steps.vars.outputs.tag }}
35+
use_metadata: false

0 commit comments

Comments
 (0)