File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed
Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 55 types : [published]
66
77env :
8- REGISTRY : ghcr.io
98 TAG_NAME : ${{ github.ref_name }}
109
1110jobs :
@@ -23,11 +22,12 @@ jobs:
2322
2423 - name : Docker meta
2524 id : meta
26- uses : docker/metadata-action@v4
25+ uses : docker/metadata-action@v5
2726 with :
2827 # list of Docker images to use as base name for tags
2928 images : |
30- ${{ env.REGISTRY }}/${{ github.repository }}
29+ ghcr.io/${{ github.repository }}
30+ docker.io/${{ github.repository }}
3131 # generate Docker tags based on the following events/attributes
3232 tags : |
3333 type=ref,event=branch
@@ -39,14 +39,20 @@ jobs:
3939 uses : docker/setup-buildx-action@v2
4040
4141 - name : Login to Github packages
42- uses : docker/login-action@v2
42+ uses : docker/login-action@v3
4343 with :
44- registry : ${{ env.REGISTRY }}
44+ registry : ghcr.io
4545 username : ${{ github.actor }}
4646 password : ${{ secrets.GITHUB_TOKEN }}
47+
48+ - name : Login to Dockerhub
49+ uses : docker/login-action@v3
50+ with :
51+ username : ${{ secrets.DOCKERHUB_REGISTRY_USERNAME }}
52+ password : ${{ secrets.DOCKERHUB_REGISTRY_PASSWORD }}
4753
4854 - name : Build and push
49- uses : docker/build-push-action@v4
55+ uses : docker/build-push-action@v6
5056 with :
5157 context : .
5258 file : Dockerfile
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ version: "3.9"
5757
5858services :
5959 windows-github-runner-vm :
60- image : ghcr .io/vaggeliskls/windows-github-custom-runner:latest
60+ image : docker .io/vaggeliskls/windows-github-custom-runner:latest
6161 env_file : .env
6262 stdin_open : true
6363 tty : true
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: "3.9"
22
33services :
44 windows-github-runner-vm :
5- image : ghcr .io/vaggeliskls/windows-github-custom-runner:latest
5+ image : docker .io/vaggeliskls/windows-github-custom-runner:latest
66 build :
77 dockerfile : ./Dockerfile
88 context : .
You can’t perform that action at this time.
0 commit comments