We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f37a1a0 commit 72f85f6Copy full SHA for 72f85f6
.github/workflows/docker-build.yml
@@ -41,12 +41,20 @@ jobs:
41
registry: ghcr.io
42
username: ${{ github.actor }}
43
password: ${{ secrets.GITHUB_TOKEN }}
44
+
45
+ - name: Log in to Docker Hub
46
+ uses: docker/login-action@v3
47
+ with:
48
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
49
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
50
51
- name: Extract metadata for Docker
52
id: meta
53
uses: docker/metadata-action@v5
54
with:
- images: ghcr.io/${{ github.repository }}
55
+ images: |
56
+ ghcr.io/${{ github.repository }}
57
+ ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}
58
tags: |
59
type=semver,pattern={{version}}
60
type=semver,pattern={{major}}.{{minor}}
0 commit comments