@@ -12,14 +12,14 @@ jobs:
1212 - name : Login to GitHub Container Registry
1313 uses : docker/login-action@v1
1414 with :
15- registry : ghcr.io
15+ registry : docker.pkg.github.com
1616 username : ${{ github.repository_owner }}
1717 password : ${{ secrets.GITHUB_TOKEN }}
1818 - name : Push to GitHub
1919 uses : docker/build-push-action@v2
2020 with :
2121 file : ./Dockerfile.docker
22- tags : ghcr.io /msyea/ubuntu-docker
22+ tags : docker.pkg.github.com /msyea/github-actions-runner /ubuntu-docker
2323 push : true
2424 push_dind :
2525 needs : push_docker
@@ -31,16 +31,16 @@ jobs:
3131 - name : Login to GitHub Container Registry
3232 uses : docker/login-action@v1
3333 with :
34- registry : ghcr.io
34+ registry : docker.pkg.github.com
3535 username : ${{ github.repository_owner }}
3636 password : ${{ secrets.GITHUB_TOKEN }}
3737 - name : Push to GitHub
3838 uses : docker/build-push-action@v2
3939 with :
4040 file : ./Dockerfile.dind
41- tags : ghcr.io /msyea/ubuntu-dind
41+ tags : docker.pkg.github.com /msyea/github-actions-runner /ubuntu-dind
4242 push : true
43- build-args : REGISTRY=ghcr.io/
43+ build-args : REGISTRY=docker.pkg.github.com/msyea/github-actions-runner
4444 push_gha :
4545 needs : [push_docker, push_dind]
4646 name : Push GitHub Actions runner image to GitHub
@@ -51,12 +51,12 @@ jobs:
5151 - name : Login to GitHub Container Registry
5252 uses : docker/login-action@v1
5353 with :
54- registry : ghcr.io
54+ registry : docker.pkg.github.com
5555 username : ${{ github.repository_owner }}
5656 password : ${{ secrets.GITHUB_TOKEN }}
5757 - name : Push to GitHub
5858 uses : docker/build-push-action@v2
5959 with :
60- tags : ghcr.io /msyea/github-actions-runner
60+ tags : docker.pkg.github.com /msyea/github-actions-runner /github-actions-runner
6161 push : true
62- build-args : REGISTRY=ghcr.io/
62+ build-args : REGISTRY=docker.pkg.github.com/msyea/github-actions-runner
0 commit comments