Skip to content

Commit 0e4fd3a

Browse files
committed
Upgrade docker/login-action to v3
1 parent e8ee896 commit 0e4fd3a

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
with:
3636
driver-opts: image=moby/buildkit:v0.11.6
3737
- name: Login to GitHub Container Registry
38-
uses: docker/login-action@v2
38+
uses: docker/login-action@v3
3939
with:
4040
registry: ghcr.io
4141
username: "${{ env.GH_CONTAINER_REGISTRY_USERNAME }}"
@@ -210,13 +210,13 @@ jobs:
210210
id-token: write
211211
steps:
212212
- name: Login to GitHub Container Registry
213-
uses: docker/login-action@v2
213+
uses: docker/login-action@v3
214214
with:
215215
registry: ghcr.io
216216
username: "${{ env.GH_CONTAINER_REGISTRY_USERNAME }}"
217217
password: "${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}"
218218
- name: Login to Docker Hub
219-
uses: docker/login-action@v2
219+
uses: docker/login-action@v3
220220
with:
221221
username: "${{ env.DOCKER_HUB_USERNAME }}"
222222
password: "${{ secrets.DOCKER_HUB_TOKEN }}"

.github/workflows/cron.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
with:
3232
driver-opts: image=moby/buildkit:v0.11.6
3333
- name: Login to GitHub Container Registry
34-
uses: docker/login-action@v2
34+
uses: docker/login-action@v3
3535
with:
3636
registry: ghcr.io
3737
username: "${{ env.GH_CONTAINER_REGISTRY_USERNAME }}"
3838
password: "${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}"
3939
- name: Login to Docker Hub
40-
uses: docker/login-action@v2
40+
uses: docker/login-action@v3
4141
with:
4242
username: "${{ env.DOCKER_HUB_USERNAME }}"
4343
password: "${{ secrets.DOCKER_HUB_TOKEN }}"

ci/workflows.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ components:
2626
2727
- login_ghcr: &login_ghcr
2828
name: "Login to GitHub Container Registry"
29-
uses: docker/login-action@v2
29+
uses: docker/login-action@v3
3030
with:
3131
registry: ghcr.io
3232
username: ${{ env.GH_CONTAINER_REGISTRY_USERNAME }}
3333
password: ${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}
3434

3535
- login_docker_hub: &login_docker_hub
3636
name: "Login to Docker Hub"
37-
uses: docker/login-action@v2
37+
uses: docker/login-action@v3
3838
with:
3939
username: ${{ env.DOCKER_HUB_USERNAME }}
4040
password: ${{ secrets.DOCKER_HUB_TOKEN }}
@@ -307,12 +307,7 @@ workflows:
307307

308308
steps:
309309
- *login_ghcr
310-
311-
- name: "Login to Docker Hub"
312-
uses: docker/login-action@v2
313-
with:
314-
username: ${{ env.DOCKER_HUB_USERNAME }}
315-
password: ${{ secrets.DOCKER_HUB_TOKEN }}
310+
- *login_docker_hub
316311

317312
- *pull_containers
318313
- *rename_all_containers

0 commit comments

Comments
 (0)