From c389e3ba2d4a3f8678aef43ad0f051ae6a067437 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt <2270806+jammsen@users.noreply.github.com> Date: Tue, 23 Jan 2024 21:34:33 +0100 Subject: [PATCH] Bugfix of #17 wrongful tagging only master and not latest, also tried to satisfy #23 with short git-sha tag #3 --- .github/workflows/docker-build-and-push.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker-build-and-push.yml b/.github/workflows/docker-build-and-push.yml index 27e0dc7..3d1ed1e 100644 --- a/.github/workflows/docker-build-and-push.yml +++ b/.github/workflows/docker-build-and-push.yml @@ -48,10 +48,9 @@ jobs: context: . push: true tags: | - ${{ secrets.DOCKER_HUB_USERNAME }}/palworld-dedicated-server:${{ steps.meta.outputs.tags }} + ${{ steps.meta.outputs.tags }} ${{ secrets.DOCKER_HUB_USERNAME }}/palworld-dedicated-server:$GIT_SHA ${{ secrets.DOCKER_HUB_USERNAME }}/palworld-dedicated-server:latest - ghcr.io/${{ secrets.DOCKER_HUB_USERNAME }}/docker-palworld-dedicated-server:${{ steps.meta.outputs.tags }} ghcr.io/${{ secrets.DOCKER_HUB_USERNAME }}/docker-palworld-dedicated-server:$GIT_SHA ghcr.io/${{ secrets.DOCKER_HUB_USERNAME }}/docker-palworld-dedicated-server:latest labels: ${{ steps.meta.outputs.labels }}