Skip to content

Commit

Permalink
fix(ci): update GitHub workflow to push to Docker Hub with git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
onehassan committed Nov 6, 2023
1 parent 5663eec commit 83c4f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/changesets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ jobs:
run: |
echo "docker_tags<<EOF" >> $GITHUB_OUTPUT
echo "type=sha" >> $GITHUB_OUTPUT
echo "type=raw,value=latest,enable=true" >> $GITHUB_OUTPUT
if [ "${{ needs.version.outputs.version }}" != "false" ]; then
GIT_TAG="v${{ needs.version.outputs.version }}"
echo "type=semver,pattern={{version}},value=$GIT_TAG" >> $GITHUB_OUTPUT
echo "type=semver,pattern={{major}}.{{minor}},value=$GIT_TAG" >> $GITHUB_OUTPUT
echo "type=semver,pattern={{major}},value=$GIT_TAG" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 83c4f4a

Please sign in to comment.