Skip to content

Commit b675716

Browse files
committed
Update docker actions DEVOPS-4382
1 parent d01afbd commit b675716

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ jobs:
4747
fetch-depth: 1
4848

4949
- name: Login to Docker Hub
50-
uses: docker/login-action@v3
50+
uses: docker/login-action@v4
5151
with:
5252
username: ${{ secrets.dockerhub-username }}
5353
password: ${{ secrets.dockerhub-token }}
5454

5555
- name: Extract metadata (tags, labels) for Docker
5656
id: meta
57-
uses: docker/metadata-action@v5
57+
uses: docker/metadata-action@v6
5858
with:
5959
images: ${{ inputs.docker-registry }}/${{ inputs.artifact-id }}
6060
labels: |
@@ -67,7 +67,7 @@ jobs:
6767
type=raw,value=${{ inputs.artifact-version }}
6868
6969
- name: Build and push Docker image
70-
uses: docker/build-push-action@v6
70+
uses: docker/build-push-action@v7
7171
with:
7272
context: .
7373
push: ${{ inputs.docker-push }}

.github/workflows/maven-docker-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ jobs:
6464
EOF
6565
6666
- name: Login to Docker Hub
67-
uses: docker/login-action@v3
67+
uses: docker/login-action@v4
6868
with:
6969
username: ${{ secrets.dockerhub-username }}
7070
password: ${{ secrets.dockerhub-token }}
7171

7272
- name: Extract metadata (tags, labels) for Docker
7373
id: meta
74-
uses: docker/metadata-action@v5
74+
uses: docker/metadata-action@v6
7575
with:
7676
images: ${{ inputs.docker-registry }}/${{ inputs.artifact-id }}
7777
labels: |
@@ -140,7 +140,7 @@ jobs:
140140
echo "loop-count=$i (max_startup_wait=$max_startup_wait)"
141141
142142
- name: Build ${{ inputs.do-docker-push == 'True' && 'and push ' || '' }}Docker image
143-
uses: docker/build-push-action@v6
143+
uses: docker/build-push-action@v7
144144
with:
145145
context: .
146146
push: ${{ inputs.do-docker-push == 'True' }}

.github/workflows/maven-module-descriptor-verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Login to Docker Hub
22-
uses: docker/login-action@v3
22+
uses: docker/login-action@v4
2323
with:
2424
username: ${{ secrets.dockerhub-username }}
2525
password: ${{ secrets.dockerhub-token }}

0 commit comments

Comments
 (0)