Skip to content

Commit

Permalink
Fix publish worflow dispatch tag env variable (#953)
Browse files Browse the repository at this point in the history
  • Loading branch information
tombeynon authored Jan 8, 2025
1 parent 22b3cb9 commit 4e55ee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ jobs:
run: |
VERSION=$(yq '.services.node.build.args.VERSION // ""' ./${{matrix.project}}/build.yml)
if [ -n "$VERSION" ]; then
echo "image-tag=${{ env.tag || github.ref_name }}-${{matrix.project}}-$VERSION" >> $GITHUB_OUTPUT
echo "image-tag=${{ env.TAG || github.ref_name }}-${{matrix.project}}-$VERSION" >> $GITHUB_OUTPUT
else
echo "image-tag=${{ env.tag || github.ref_name }}-${{matrix.project}}" >> $GITHUB_OUTPUT
echo "image-tag=${{ env.TAG || github.ref_name }}-${{matrix.project}}" >> $GITHUB_OUTPUT
fi
- name: Build and push
uses: docker/bake-action@v5
Expand Down

0 comments on commit 4e55ee6

Please sign in to comment.