File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
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
You can’t perform that action at this time.
0 commit comments