Build with buildx for amd64
This commit is contained in:
parent
1ece414078
commit
c37d1be50d
1 changed files with 10 additions and 1 deletions
|
@ -9,10 +9,19 @@ builds:
|
|||
- windows
|
||||
- darwin
|
||||
dockers:
|
||||
- image_templates:
|
||||
- use: buildx
|
||||
goos: linux
|
||||
goarch: amd64
|
||||
image_templates:
|
||||
- "unjxde/godash:latest"
|
||||
- "unjxde/godash:v{{ .Major }}"
|
||||
- "unjxde/godash:{{ .Tag }}"
|
||||
build_flag_templates:
|
||||
- "--platform=linux/amd64"
|
||||
- "--label=org.opencontainers.image.created={{.Date}}"
|
||||
- "--label=org.opencontainers.image.title={{.ProjectName}}"
|
||||
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
||||
- "--label=org.opencontainers.image.version={{.Version}}"
|
||||
extra_files:
|
||||
- entrypoint.sh
|
||||
- bookmarks/config.yaml
|
||||
|
|
Loading…
Add table
Reference in a new issue