Skip to content

Commit 2e1467b

Browse files
authored
Update and simplify versions of actions
1 parent 589bb7b commit 2e1467b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/docker-publish.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,19 @@ jobs:
3939
# https://github.com/sigstore/cosign-installer
4040
- name: Install cosign
4141
if: github.event_name != 'pull_request'
42-
uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 #v3.1.1
43-
with:
44-
cosign-release: 'v2.1.1'
42+
uses: sigstore/cosign-installer@v3.5.0
4543

4644
# Set up BuildKit Docker container builder to be able to build
4745
# multi-platform images and export cache
4846
# https://github.com/docker/setup-buildx-action
4947
- name: Set up Docker Buildx
50-
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
48+
uses: docker/setup-buildx-action@v3
5149

5250
# Login against a Docker registry except on PR
5351
# https://github.com/docker/login-action
5452
- name: Log into registry ${{ env.REGISTRY }}
5553
if: github.event_name != 'pull_request'
56-
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
54+
uses: docker/login-action@v3
5755
with:
5856
registry: ${{ env.REGISTRY }}
5957
username: ${{ github.actor }}
@@ -63,15 +61,15 @@ jobs:
6361
# https://github.com/docker/metadata-action
6462
- name: Extract Docker metadata
6563
id: meta
66-
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
64+
uses: docker/metadata-action@v5
6765
with:
6866
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6967

7068
# Build and push Docker image with Buildx (don't push on PR)
7169
# https://github.com/docker/build-push-action
7270
- name: Build and push Docker image
7371
id: build-and-push
74-
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
72+
uses: docker/build-push-action@v5
7573
with:
7674
context: .
7775
push: ${{ github.event_name != 'pull_request' }}

0 commit comments

Comments
 (0)