push after build
This commit is contained in:
parent
917ab9be27
commit
1dd0f05b09
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -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 }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Push image
|
||||
if: success() && github.ref == 'refs/heads/master'
|
||||
run: docker push minetestmapserver/mapserver:latest
|
||||
|
Loading…
Reference in New Issue
Block a user