Skip to content

Commit

Permalink
Merge branch 'go-releaser'
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Feb 1, 2022
2 parents c1a3360 + fb67030 commit a03fb65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
if: success() && startsWith(github.ref, 'refs/tags/')
if: success() && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master')
with:
version: latest
args: release --rm-dist
Expand Down
4 changes: 3 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ changelog:
- '^docs:'
- '^test:'
dockers:
- image_templates: ["minetestmapserver/mapserver:{{ .Version }}"]
- image_templates:
- "minetestmapserver/mapserver:{{ .Version }}"
- "minetestmapserver/mapserver:latest"
dockerfile: Dockerfile

0 comments on commit a03fb65

Please sign in to comment.