diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index aca6edf..392d93b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 74ba84f..cf5db72 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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 }}"