Skip to content

Commit

Permalink
ci: add docker hub image
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelgautier committed Jan 21, 2024
1 parent be2cbfd commit 7eb06ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
Expand Down
4 changes: 4 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ changelog:

dockers:
- image_templates:
- "galactiks/giteway:{{ .Tag }}"
- "galactiks/giteway:v{{ .Major }}"
- "galactiks/giteway:v{{ .Major }}.{{ .Minor }}"
- "galactiks/giteway:latest"
- "ghcr.io/thegalactiks/giteway:{{ .Tag }}"
- "ghcr.io/thegalactiks/giteway:v{{ .Major }}"
- "ghcr.io/thegalactiks/giteway:v{{ .Major }}.{{ .Minor }}"
Expand Down

0 comments on commit 7eb06ae

Please sign in to comment.