Skip to content

Commit 378b0ad

Browse files
authored
PLTOS-371: gha: updates (#43)
- actions/checkout@v3 -> v4 - docker/setup-buildx-action@v2 -> v3 - docker/login-action@v2 -> v3 - docker/metadata-action@v4 -> v5 - docker/build-push-action@v4 -> v5
1 parent d345a41 commit 378b0ad

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
HADOLINT_RECURSIVE: "true"
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
1818
- name: Run hadolint

.github/workflows/cleanup-gha-cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Check out code
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Cleanup
1717
run: |

.github/workflows/hadolint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
HADOLINT_RECURSIVE: "true"
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717
- name: Run hadolint

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ jobs:
2727

2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131

3232
# Workaround: https://github.com/docker/build-push-action/issues/461
3333
- name: Setup Docker buildx
34-
uses: docker/setup-buildx-action@v2
34+
uses: docker/setup-buildx-action@v3
3535

3636
# Login against a Docker registry except on PR
3737
# https://github.com/docker/login-action
3838
- name: Log into registry ${{ env.REGISTRY }}
3939
if: github.event_name != 'pull_request'
40-
uses: docker/login-action@v2
40+
uses: docker/login-action@v3
4141
with:
4242
registry: ${{ env.REGISTRY }}
4343
username: ${{ github.actor }}
@@ -47,7 +47,7 @@ jobs:
4747
# https://github.com/docker/metadata-action
4848
- name: Extract Docker metadata
4949
id: meta
50-
uses: docker/metadata-action@v4
50+
uses: docker/metadata-action@v5
5151
with:
5252
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
5353
## generate Docker tags based on the following events/attributes
@@ -64,7 +64,7 @@ jobs:
6464
# https://github.com/docker/build-push-action
6565
- name: Build and push Docker image
6666
id: build-and-push
67-
uses: docker/build-push-action@v4
67+
uses: docker/build-push-action@v5
6868
with:
6969
context: .
7070
provenance: false

0 commit comments

Comments
 (0)