Skip to content

Commit

Permalink
ci(docker-hub): fix tag naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Joxit committed Jul 4, 2023
1 parent 006276c commit 0e94585
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docker-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ jobs:
push: true
tags: |
joxit/wof:latest
joxit/wof:${{steps.current-tag.outputs.tag}}
joxit/wof:${{steps.major-tag.outputs.tag}}
joxit/wof:${{steps.minor-tag.outputs.tag}}
joxit/wof:${{steps.patch-tag.outputs.tag}}
- name: Build image main and push
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
uses: docker/build-push-action@v2
Expand All @@ -51,7 +53,5 @@ jobs:
platforms: linux/386,linux/amd64,linux/arm64
push: true
tags: |
joxit/wof:latest
joxit/wof:${{steps.major-tag.outputs.tag}}
joxit/wof:${{steps.minor-tag.outputs.tag}}
joxit/wof:${{steps.patch-tag.outputs.tag}}
joxit/wof:main
joxit/wof:master

0 comments on commit 0e94585

Please sign in to comment.