Skip to content

Commit d9a7f29

Browse files
author
Iceberg Tech
authored
Update docker publish
1 parent 22842dd commit d9a7f29

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/docker-publish.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,17 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v3
32-
33-
# Install the cosign tool except on PR
34-
# https://github.com/sigstore/cosign-installer
35-
- name: Install cosign
36-
if: github.event_name != 'pull_request'
37-
uses: sigstore/cosign-installer@f3c664df7af409cb4873aa5068053ba9d61a57b6 #v2.6.0
38-
with:
39-
cosign-release: 'v1.11.0'
31+
uses: actions/checkout@v4
4032

4133
# Workaround: https://github.com/docker/build-push-action/issues/461
4234
- name: Setup Docker buildx
43-
uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
35+
uses: docker/setup-buildx-action@v3
4436

4537
# Login against a Docker registry except on PR
4638
# https://github.com/docker/login-action
4739
- name: Log into registry ${{ env.REGISTRY }}
4840
if: github.event_name != 'pull_request'
49-
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
41+
uses: docker/login-action@v3
5042
with:
5143
registry: ${{ env.REGISTRY }}
5244
username: ${{ github.actor }}
@@ -56,7 +48,7 @@ jobs:
5648
# https://github.com/docker/metadata-action
5749
- name: Extract Docker metadata
5850
id: meta
59-
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
51+
uses: docker/metadata-action@v5
6052
with:
6153
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6254
tags: |
@@ -66,7 +58,7 @@ jobs:
6658
# https://github.com/docker/build-push-action
6759
- name: Build and push Docker image
6860
id: build-and-push
69-
uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
61+
uses: docker/build-push-action@v6
7062
with:
7163
context: .
7264
push: ${{ github.event_name != 'pull_request' }}

0 commit comments

Comments
 (0)