Skip to content

Commit

Permalink
Add major minor docker release
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
  • Loading branch information
pierre-emmanuelJ committed Mar 26, 2021
1 parent 744ce95 commit 7743925
Showing 1 changed file with 29 additions and 9 deletions.
38 changes: 29 additions & 9 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,21 @@ nfpms:

dockers:
- image_templates:
- "docker.pkg.github.com/pierre-emmanuelj/iptv-proxy/iptv-proxy:{{ .Tag }}-amd64"
- "pierro777/iptv-proxy:{{ .Tag }}-amd64"
- "docker.pkg.github.com/pierre-emmanuelj/iptv-proxy/iptv-proxy:{{ .Tag }}-arm64"
- "docker.pkg.github.com/pierre-emmanuelj/iptv-proxy/iptv-proxy:v{{ .Major }}-arm64"
- "docker.pkg.github.com/pierre-emmanuelj/iptv-proxy/iptv-proxy:v{{ .Major }}.{{ .Minor }}-arm64"
- "docker.pkg.github.com/pierre-emmanuelj/iptv-proxy/iptv-proxy:latest-arm64"
- "pierro777/iptv-proxy:{{ .Tag }}-arm64"
- "pierro777/iptv-proxy:v{{ .Major }}-arm64"
- "pierro777/iptv-proxy:v{{ .Major }}.{{ .Minor }}-arm64"
- "pierro777/iptv-proxy:latest-arm64"
use_buildx: true
goos: linux
goarch: amd64
goarch: arm64
ids:
- iptv-proxy
build_flag_templates:
- "--platform=linux/amd64"
- "--platform=linux/arm64/v8"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.name={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
Expand All @@ -58,18 +64,32 @@ dockers:
dockerfile: .Dockerfile.goreleaser

- image_templates:
- "docker.pkg.github.com/pierre-emmanuelj/iptv-proxy/iptv-proxy:{{ .Tag }}-arm64"
- "pierro777/iptv-proxy:{{ .Tag }}-arm64"
- "docker.pkg.github.com/pierre-emmanuelj/iptv-proxy/iptv-proxy:{{ .Tag }}-amd64"
- "docker.pkg.github.com/pierre-emmanuelj/iptv-proxy/iptv-proxy:v{{ .Major }}-amd64"
- "docker.pkg.github.com/pierre-emmanuelj/iptv-proxy/iptv-proxy:v{{ .Major }}.{{ .Minor }}-amd64"
- "docker.pkg.github.com/pierre-emmanuelj/iptv-proxy/iptv-proxy:latest-amd64"
- "docker.pkg.github.com/pierre-emmanuelj/iptv-proxy/iptv-proxy:{{ .Tag }}"
- "docker.pkg.github.com/pierre-emmanuelj/iptv-proxy/iptv-proxy:v{{ .Major }}"
- "docker.pkg.github.com/pierre-emmanuelj/iptv-proxy/iptv-proxy:v{{ .Major }}.{{ .Minor }}"
- "docker.pkg.github.com/pierre-emmanuelj/iptv-proxy/iptv-proxy:latest"
- "pierro777/iptv-proxy:{{ .Tag }}-amd64"
- "pierro777/iptv-proxy:v{{ .Major }}-amd64"
- "pierro777/iptv-proxy:v{{ .Major }}.{{ .Minor }}-amd64"
- "pierro777/iptv-proxy:latest-amd64"
- "pierro777/iptv-proxy:{{ .Tag }}"
- "pierro777/iptv-proxy:v{{ .Major }}"
- "pierro777/iptv-proxy:v{{ .Major }}.{{ .Minor }}"
- "pierro777/iptv-proxy:latest"
use_buildx: true
goos: linux
goarch: arm64
goarch: amd64
ids:
- iptv-proxy
build_flag_templates:
- "--platform=linux/arm64/v8"
- "--platform=linux/amd64"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.name={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
skip_push: false
dockerfile: .Dockerfile.goreleaser
dockerfile: .Dockerfile.goreleaser

0 comments on commit 7743925

Please sign in to comment.