Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use goreleaser to push Docker image #163

Open
sundowndev opened this issue Apr 8, 2021 · 0 comments
Open

Use goreleaser to push Docker image #163

sundowndev opened this issue Apr 8, 2021 · 0 comments
Labels
github_actions Pull requests that update Github_actions code good first issue Good for newcomers kind/maintenance
Milestone

Comments

@sundowndev
Copy link
Member

sundowndev commented Apr 8, 2021

Summary

Goreleaser have native support for pushing Docker images. We should take advantage of it.

References

Examples

dockers:
- image_templates:
  - "dreamvo/gilfoyle:{{ .Version }}-amd64"
  use_buildx: true
  dockerfile: Dockerfile
  build_flag_templates:
  - "--platform=linux/amd64"
- image_templates:
  - "dreamvo/gilfoyle:{{ .Version }}-arm64"
  use_buildx: true
  goarch: arm64
  dockerfile: Dockerfile
  build_flag_templates:
  - "--platform=linux/arm64"
docker_manifests:
- name_template: dreamvo/gilfoyle:{{ .Version }}
  image_templates:
  - dreamvo/gilfoyle:{{ .Version }}-amd64
  - dreamvo/gilfoyle:{{ .Version }}-arm64
@sundowndev sundowndev added github_actions Pull requests that update Github_actions code kind/maintenance labels Apr 8, 2021
@sundowndev sundowndev added this to the v0.3.0 milestone Apr 8, 2021
@sundowndev sundowndev added this to To do in v0.x backlog via automation Apr 8, 2021
@sundowndev sundowndev added the good first issue Good for newcomers label Apr 14, 2021
@sundowndev sundowndev changed the title Use docker/build-push-action to push Docker image Use goreleaser to push Docker image Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update Github_actions code good first issue Good for newcomers kind/maintenance
Projects
v0.x backlog
  
To do
Development

No branches or pull requests

1 participant