Skip to content

Commit 941511a

Browse files
authored
Update docker-image.yml
1 parent 6c4230f commit 941511a

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,18 @@ jobs:
2727
- name: Set up Docker Buildx
2828
uses: docker/setup-buildx-action@v2
2929

30-
- name: Log in to the Container registry
30+
- name: Log in to ghcr.io
3131
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
3232
with:
3333
registry: ${{ env.REGISTRY }}
3434
username: ${{ github.actor }}
3535
password: ${{ secrets.GITHUB_TOKEN }}
36+
37+
- name: Log in to Docker Hub
38+
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
39+
with:
40+
username: ${{ secrets.DOCKER_USERNAME }}
41+
password: ${{ secrets.DOCKER_PASSWORD }}
3642

3743
- name: Extract metadata (tags, labels) for Docker
3844
id: meta
@@ -46,5 +52,4 @@ jobs:
4652
context: .
4753
push: true
4854
platforms: linux/amd64,linux/arm64
49-
tags: ghcr.io/scriptbash/qraven:latest #${{ steps.meta.outputs.tags }}
50-
#labels: ${{ steps.meta.outputs.labels }}
55+
tags: ghcr.io/scriptbash/qraven:latest , docker.io/scriptbash/qraven:latest

0 commit comments

Comments
 (0)