Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dbe02b5

Browse files
update workflow
Signed-off-by: randomhydrosol <[email protected]>
1 parent 2dce41c commit dbe02b5

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,27 @@ jobs:
2525

2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v5
28+
uses: actions/checkout@v6
2929

3030
# Set up BuildKit Docker container builder to be able to build
3131
# multi-platform images and export cache
3232
# https://github.com/docker/setup-buildx-action
3333
- name: Set up Docker Buildx
34-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
34+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
3535

3636
# Extract metadata (tags, labels) for Docker
3737
# https://github.com/docker/metadata-action
3838
- name: Extract Docker metadata
3939
id: meta
40-
uses: docker/metadata-action@318604b99e75e41977312d83839a89be02ca4893 # v5.9.0
40+
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
4141
with:
4242
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4343

4444
# Build and push Docker image with Buildx (don't push on PR)
4545
# https://github.com/docker/build-push-action
4646
- name: Build and push Docker image
4747
id: build-and-push
48-
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
48+
uses: docker/build-push-action@601a80b39c9405e50806ae38af30926f9d957c47 # v6.19.1
4949
with:
5050
context: .
5151
push: false

.github/workflows/docker-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
steps:
3535
- name: Checkout repository
36-
uses: actions/checkout@v5
36+
uses: actions/checkout@v6
3737

3838
# Install the cosign tool except on PR
3939
# https://github.com/sigstore/cosign-installer
@@ -47,13 +47,13 @@ jobs:
4747
# multi-platform images and export cache
4848
# https://github.com/docker/setup-buildx-action
4949
- name: Set up Docker Buildx
50-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
50+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
5151

5252
# Login against a Docker registry except on PR
5353
# https://github.com/docker/login-action
5454
- name: Log into registry ${{ env.REGISTRY }}
5555
if: github.event_name != 'pull_request'
56-
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
56+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
5757
with:
5858
registry: ${{ env.REGISTRY }}
5959
username: ${{ github.actor }}
@@ -63,15 +63,15 @@ jobs:
6363
# https://github.com/docker/metadata-action
6464
- name: Extract Docker metadata
6565
id: meta
66-
uses: docker/metadata-action@318604b99e75e41977312d83839a89be02ca4893 # v5.9.0
66+
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
6767
with:
6868
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6969

7070
# Build and push Docker image with Buildx (don't push on PR)
7171
# https://github.com/docker/build-push-action
7272
- name: Build and push Docker image
7373
id: build-and-push
74-
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
74+
uses: docker/build-push-action@601a80b39c9405e50806ae38af30926f9d957c47 # v6.19.1
7575
with:
7676
context: .
7777
push: ${{ github.event_name != 'pull_request' }}

0 commit comments

Comments
 (0)