From 0e945859a3bb85c70e85b9ea93ad9c96f350df19 Mon Sep 17 00:00:00 2001 From: Joxit Date: Tue, 4 Jul 2023 21:21:42 +0200 Subject: [PATCH] ci(docker-hub): fix tag naming --- .github/workflows/docker-hub.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-hub.yml b/.github/workflows/docker-hub.yml index d1cf938..01f95f6 100644 --- a/.github/workflows/docker-hub.yml +++ b/.github/workflows/docker-hub.yml @@ -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 @@ -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