Build and push a new docker image to Docker Hub when a release is triggered

This commit is contained in:
Joona Hoikkala
2026-02-05 17:30:09 +02:00
parent 917ff10563
commit ec3ce15344
3 changed files with 31 additions and 0 deletions

View File

@@ -26,8 +26,14 @@ jobs:
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest