Skip to content

Commit 16d86ee

Browse files
localheinzalcohol
authored andcommitted
Enhancement: Update docker/login-action
1 parent 467ae77 commit 16d86ee

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/v1.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
.
4646
- name: Login to Docker Hub
4747
if: github.ref == 'refs/heads/main'
48-
uses: docker/login-action@v1
48+
uses: docker/login-action@v3
4949
with:
5050
username: ${{ secrets.DOCKERHUB_USERNAME }}
5151
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -60,7 +60,7 @@ jobs:
6060
docker push composer/composer:$(grep -oP 'COMPOSER_VERSION 1.10.\d+' Dockerfile | grep -oP '1.10.\d+')-bin
6161
- name: Login to Amazon Public ECR
6262
if: github.ref == 'refs/heads/main'
63-
uses: docker/login-action@v2
63+
uses: docker/login-action@v3
6464
with:
6565
registry: public.ecr.aws
6666
username: ${{ secrets.AWS_ECR_ACCESS_KEY }}

.github/workflows/v2-current.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
.
5151
- name: Login to Docker Hub
5252
if: github.ref == 'refs/heads/main'
53-
uses: docker/login-action@v2
53+
uses: docker/login-action@v3
5454
with:
5555
username: ${{ secrets.DOCKERHUB_USERNAME }}
5656
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -68,7 +68,7 @@ jobs:
6868
docker push composer/composer:$(grep -oP 'COMPOSER_VERSION ${{ matrix.version }}.\d+' Dockerfile | grep -oP '${{ matrix.version }}.\d+')-bin
6969
- name: Login to Amazon Public ECR
7070
if: github.ref == 'refs/heads/main'
71-
uses: docker/login-action@v2
71+
uses: docker/login-action@v3
7272
with:
7373
registry: public.ecr.aws
7474
username: ${{ secrets.AWS_ECR_ACCESS_KEY }}

.github/workflows/v2-lts.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
.
4949
- name: Login to Docker Hub
5050
if: github.ref == 'refs/heads/main'
51-
uses: docker/login-action@v2
51+
uses: docker/login-action@v3
5252
with:
5353
username: ${{ secrets.DOCKERHUB_USERNAME }}
5454
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -64,7 +64,7 @@ jobs:
6464
docker push composer/composer:$(grep -oP 'COMPOSER_VERSION ${{ matrix.version }}.\d+' Dockerfile | grep -oP '${{ matrix.version }}.\d+')-bin
6565
- name: Login to Amazon Public ECR
6666
if: github.ref == 'refs/heads/main'
67-
uses: docker/login-action@v2
67+
uses: docker/login-action@v3
6868
with:
6969
registry: public.ecr.aws
7070
username: ${{ secrets.AWS_ECR_ACCESS_KEY }}

.github/workflows/v2-previous.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
.
5454
- name: Login to Docker Hub
5555
if: github.ref == 'refs/heads/main'
56-
uses: docker/login-action@v2
56+
uses: docker/login-action@v3
5757
with:
5858
username: ${{ secrets.DOCKERHUB_USERNAME }}
5959
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -67,7 +67,7 @@ jobs:
6767
docker push composer/composer:$(grep -oP 'COMPOSER_VERSION ${{ matrix.version }}.\d+' Dockerfile | grep -oP '${{ matrix.version }}.\d+')-bin
6868
- name: Login to Amazon Public ECR
6969
if: github.ref == 'refs/heads/main'
70-
uses: docker/login-action@v2
70+
uses: docker/login-action@v3
7171
with:
7272
registry: public.ecr.aws
7373
username: ${{ secrets.AWS_ECR_ACCESS_KEY }}

0 commit comments

Comments
 (0)