Skip to content

Commit

Permalink
🚀 Push Docker image to repository
Browse files Browse the repository at this point in the history
Configure GoReleaser to push the Docker image to the GitHub repository.
  • Loading branch information
mikelorant committed Feb 21, 2023
1 parent f43c889 commit 75a6fc4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,14 @@ brews:
- name: git
test: |
system "#{bin}/committed --help"
dockers:
- image_templates:
- mikelorant/committed:{{.Version}}
- mikelorant/committed:latest
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"

0 comments on commit 75a6fc4

Please sign in to comment.