Skip to content

Commit 8fc22b3

Browse files
committed
fix: update GitHub Actions to latest action versions
Bump versions of actions/checkout, sigstore/cosign-installer, docker/setup-buildx-action, docker/login-action, docker/metadata-action, docker/build-push-action, and appleboy/ssh-action to their latest releases for improved security, features, and bug fixes.
1 parent a10d19b commit 8fc22b3

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/build-deploy.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,32 @@ jobs:
1919
IMAGE_NAME: ${{ github.repository }}-${{ github.job }}
2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v4.1.1
22+
uses: actions/checkout@v4.2.2
2323

2424
- name: Install cosign
2525
if: github.event_name != 'pull_request'
26-
uses: sigstore/cosign-installer@v3.2.0
26+
uses: sigstore/cosign-installer@v3.9.1
2727

2828
- name: Setup Docker buildx
29-
uses: docker/setup-buildx-action@v3.0.0
29+
uses: docker/setup-buildx-action@v3.11.1
3030

3131
- name: Log into registry ${{ env.REGISTRY }}
3232
if: github.event_name != 'pull_request'
33-
uses: docker/login-action@v3.0.0
33+
uses: docker/login-action@v3.4.0
3434
with:
3535
registry: ${{ env.REGISTRY }}
3636
username: ${{ secrets.CR_USER }}
3737
password: ${{ secrets.CR_TOKEN }}
3838

3939
- name: Extract Docker metadata
4040
id: meta
41-
uses: docker/metadata-action@v5.0.0
41+
uses: docker/metadata-action@v5.7.0
4242
with:
4343
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4444

4545
- name: Build and push Docker image
4646
id: build-and-push
47-
uses: docker/build-push-action@v5.1.0
47+
uses: docker/build-push-action@v6.18.0
4848
with:
4949
context: ${{ github.job }}/
5050
push: ${{ github.event_name != 'pull_request' }}
@@ -70,32 +70,32 @@ jobs:
7070
IMAGE_NAME: ${{ github.repository }}-${{ github.job }}
7171
steps:
7272
- name: Checkout repository
73-
uses: actions/checkout@v4.1.1
73+
uses: actions/checkout@v4.2.2
7474

7575
- name: Install cosign
7676
if: github.event_name != 'pull_request'
77-
uses: sigstore/cosign-installer@v3.2.0
77+
uses: sigstore/cosign-installer@v3.9.1
7878

7979
- name: Setup Docker buildx
80-
uses: docker/setup-buildx-action@v3.0.0
80+
uses: docker/setup-buildx-action@v3.11.1
8181

8282
- name: Log into registry ${{ env.REGISTRY }}
8383
if: github.event_name != 'pull_request'
84-
uses: docker/login-action@v3.0.0
84+
uses: docker/login-action@v3.4.0
8585
with:
8686
registry: ${{ env.REGISTRY }}
8787
username: ${{ secrets.CR_USER }}
8888
password: ${{ secrets.CR_TOKEN }}
8989

9090
- name: Extract Docker metadata
9191
id: meta
92-
uses: docker/metadata-action@v5.0.0
92+
uses: docker/metadata-action@v5.7.0
9393
with:
9494
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
9595

9696
- name: Build and push Docker image
9797
id: build-and-push
98-
uses: docker/build-push-action@v5.1.0
98+
uses: docker/build-push-action@v6.18.0
9999
with:
100100
context: ${{ github.job }}/
101101
push: ${{ github.event_name != 'pull_request' }}
@@ -117,7 +117,7 @@ jobs:
117117
steps:
118118
- name: Executing remote ssh commands
119119
id: ssh
120-
uses: appleboy/ssh-action@v1.0.0
120+
uses: appleboy/ssh-action@v1.2.2
121121
with:
122122
host: ${{ secrets.OCI_HOST }}
123123
username: ${{ secrets.OCI_USERNAME }}

0 commit comments

Comments
 (0)