diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a2050b..21e6492 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,10 +48,6 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - - name: Push image - if: success() && github.ref == 'refs/heads/master' - run: docker push buckaroobanzay/minetest:latest - - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 if: success() && startsWith(github.ref, 'refs/tags/') @@ -59,4 +55,8 @@ jobs: version: latest args: release --rm-dist env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Push image + if: success() && github.ref == 'refs/heads/master' + run: docker push minetestmapserver/mapserver:latest