Skip to content

Commit 2356b53

Browse files
committed
Update actions in workflows to latest versions
1 parent cfa20d2 commit 2356b53

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

.github/workflows/docker-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424

2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828

2929
# Login against a Docker registry except on PR
3030
# https://github.com/docker/login-action
3131
- name: Log into registry ${{ env.REGISTRY }}
32-
uses: docker/login-action@v2
32+
uses: docker/login-action@v3
3333
with:
3434
registry: ${{ env.REGISTRY }}
3535
username: ${{ github.actor }}
@@ -46,14 +46,14 @@ jobs:
4646
echo "tags=$tags" >> $GITHUB_OUTPUT
4747
- name: Extract Docker metadata
4848
id: meta
49-
uses: docker/metadata-action@v4
49+
uses: docker/metadata-action@v5
5050
with:
5151
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
5252

5353
# Build and push Docker image with Buildx (don't push on PR)
5454
# https://github.com/docker/build-push-action
5555
- name: Build and push Docker image
56-
uses: docker/build-push-action@v4
56+
uses: docker/build-push-action@v5
5757
with:
5858
context: .
5959
file: Dockerfile

.github/workflows/record.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
tag: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.regex-match.outputs.tag_match }}
1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
- name: Get action.yaml tag
2121
id: regex-match
2222
run: |
@@ -45,9 +45,9 @@ jobs:
4545
- future-true
4646
steps:
4747
- name: Checkout repository
48-
uses: actions/checkout@v3
48+
uses: actions/checkout@v4
4949
- name: Build local docker image
50-
uses: docker/build-push-action@v4
50+
uses: docker/build-push-action@v5
5151
with:
5252
context: .
5353
file: Dockerfile
@@ -62,7 +62,7 @@ jobs:
6262
token: ${{ secrets.GITHUB_TOKEN }}
6363

6464
- name: Archive ${{ matrix.test }} Project
65-
uses: actions/upload-artifact@v3
65+
uses: actions/upload-artifact@v4
6666
with:
6767
name: ${{ matrix.test }}
6868
path: ./test_projects/${{ matrix.test }}/_expected

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525
- name: Get action.yaml tag
2626
id: regex-match
2727
run: |
@@ -54,6 +54,6 @@ jobs:
5454
steps:
5555
- name: Update the ${{ env.TAG_NAME }} tag
5656
id: update-major-tag
57-
uses: actions/publish-action@v0.2.1
57+
uses: actions/publish-action@v0.3.0
5858
with:
5959
source-tag: ${{ env.TAG_NAME }}

.github/workflows/shellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
SHELLCHECK_OPTS: -s bash
1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818

1919
- name: Run ShellCheck
2020
uses: ludeeus/action-shellcheck@master

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
tag: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.regex-match.outputs.tag_match }}
2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
- name: Get action.yaml tag
2727
id: regex-match
2828
run: |
@@ -51,9 +51,9 @@ jobs:
5151
- future-true
5252
steps:
5353
- name: Checkout repository
54-
uses: actions/checkout@v3
54+
uses: actions/checkout@v4
5555
- name: Build local docker image
56-
uses: docker/build-push-action@v4
56+
uses: docker/build-push-action@v5
5757
with:
5858
context: .
5959
file: Dockerfile

0 commit comments

Comments
 (0)