Add ghcr.io docker images

This commit is contained in:
Jannis Mattheis
2023-03-17 10:14:12 +01:00
parent e62933364f
commit f6cd0c6843
2 changed files with 45 additions and 1 deletions
+3 -1
View File
@@ -34,7 +34,9 @@ jobs:
- run: go build ./...
- run: go test -race ./...
- if: startsWith(github.ref, 'refs/tags/v')
run: echo "$DOCKER_PASS" | docker login --username "$DOCKER_USER" --password-stdin
run: |
echo "$DOCKER_PASS" | docker login --username "$DOCKER_USER" --password-stdin
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.actor }}" --password-stdin
env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}