Skip to content

Commit

Permalink
added docker image to .goreleaser.yml. Based on two secrets DOCKER_US…
Browse files Browse the repository at this point in the history
…ERNAME and DOCKER_PASSWORD, configured inside the repo
  • Loading branch information
simonmittag committed Dec 4, 2023
1 parent 8c3ac40 commit 0f08ff1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ jobs:
version: ${{ env.GITHUB_REF_NAME }}
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
4 changes: 4 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,9 @@ brews:
name: simonmittag
email: simonmittag@gmail.com

dockers:
- image_templates:
- "docker.io/simonmittag/j8a:{{.Tag}}"

checksum:
name_template: 'checksums.txt'

0 comments on commit 0f08ff1

Please sign in to comment.