Skip to content

Commit

Permalink
push after build
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Feb 1, 2022
1 parent 917ab9b commit 1dd0f05
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ 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/')
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Push image
if: success() && github.ref == 'refs/heads/master'
run: docker push minetestmapserver/mapserver:latest

0 comments on commit 1dd0f05

Please sign in to comment.