Skip to content

Commit

Permalink
CI: Push releases to docker hub
Browse files Browse the repository at this point in the history
  • Loading branch information
aidansteele committed Jan 2, 2020
1 parent fb4b862 commit 7816fa1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ jobs:
with:
go-version: 1.13.x

- name: docker login
uses: Azure/docker-login@v1
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: goreleaser
uses: goreleaser/goreleaser-action@v1
with:
Expand Down
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ changelog:
exclude:
- '^docs:'
- '^test:'
dockers:
- image_templates:
- glassechidna/stackit
nfpm:
vendor: stackit
homepage: https://github.com/glassechidna/stackit
Expand Down

0 comments on commit 7816fa1

Please sign in to comment.