Skip to content

Commit 65a1bf4

Browse files
committed
"Use latest for gh build"
1 parent 0395557 commit 65a1bf4

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/docker-image.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,26 @@ jobs:
3131
steps:
3232

3333
- name: Checkout repository
34-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
34+
uses: actions/checkout@latest
3535

3636
# Install the cosign tool except on PR
3737
# https://github.com/sigstore/cosign-installer
3838
- name: Install cosign
3939
if: github.event_name != 'pull_request'
40-
uses: sigstore/cosign-installer@e1523de7571e31dbe865fd2e80c5c7c23ae71eb4
41-
with:
42-
cosign-release: 'v2.2.2'
40+
uses: sigstore/cosign-installer@latest
4341

4442

4543
# Set up BuildKit Docker container builder to be able to build
4644
# multi-platform images and export cache
4745
# https://github.com/docker/setup-buildx-action
4846
- name: Set up Docker Buildx
49-
uses: docker/setup-buildx-action@0d103c3126aa41d772a8362f6aa67afac040f80c
47+
uses: docker/setup-buildx-action@latest
5048

5149
# Login against a Docker registry except on PR
5250
# https://github.com/docker/login-action
5351
- name: Log into registry ${{ env.REGISTRY }}
5452
if: github.event_name != 'pull_request'
55-
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d
53+
uses: docker/login-action@latest
5654
with:
5755
registry: ${{ env.REGISTRY }}
5856
username: ${{ github.actor }}
@@ -63,11 +61,11 @@ jobs:
6361
# https://github.com/docker/metadata-action
6462
- name: Extract Docker metadata
6563
id: meta
66-
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81
64+
uses: docker/metadata-action@latest
6765
with:
6866
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6967

70-
- uses: ScribeMD/docker-cache@e481e638abdb45e2fa30845305c387a544cc617f
68+
- uses: ScribeMD/docker-cache@latest
7169
name: Cache Docker images
7270
with:
7371
key: docker-${{ runner.os }}
@@ -76,7 +74,7 @@ jobs:
7674
# https://github.com/docker/build-push-action
7775
- name: Build and push Docker image
7876
id: build-and-push
79-
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56
77+
uses: docker/build-push-action@latest
8078
with:
8179
context: .
8280
push: ${{ github.event_name != 'pull_request' }}

0 commit comments

Comments
 (0)