Skip to content

Commit 141cde1

Browse files
committed
chore: update action versions
1 parent 7027d65 commit 141cde1

File tree

4 files changed

+24
-18
lines changed

4 files changed

+24
-18
lines changed

.github/workflows/chart-lint-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ jobs:
2020
timeout-minutes: 10
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
2626

2727
- name: Set up Helm
28-
uses: azure/setup-helm@v1
28+
uses: azure/setup-helm@v4
2929
with:
3030
version: v3.4.0
3131

32-
- uses: actions/setup-python@v2
32+
- uses: actions/setup-python@v5
3333
with:
34-
python-version: 3.7
34+
python-version: 3.7.17
3535

3636
- name: Set up chart-testing
37-
uses: helm/chart-testing-action@v2.0.1
37+
uses: helm/chart-testing-action@v2.6.1
3838

3939
- name: Run chart-testing (list-changed)
4040
id: list-changed
@@ -48,7 +48,7 @@ jobs:
4848
run: ct lint --config ct.yaml
4949

5050
- name: Create kind cluster
51-
uses: helm/kind-action@v1.0.0
51+
uses: helm/kind-action@v1.10.0
5252
if: steps.list-changed.outputs.changed == 'true'
5353

5454
- name: Run chart-testing (install)

.github/workflows/docker-build-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ jobs:
2121
fail-fast: false
2222

2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2525

2626
# Action reference: https://github.com/docker/setup-qemu-action
2727
- name: Set up QEMU (for docker buildx)
28-
uses: docker/setup-qemu-action@v1
28+
uses: docker/setup-qemu-action@v3
2929

3030
# Action reference: https://github.com/docker/setup-buildx-action
3131
- name: Set up Docker Buildx
32-
uses: docker/setup-buildx-action@v1
32+
uses: docker/setup-buildx-action@v3
3333

3434
# Action reference: https://github.com/docker/build-push-action
3535
- name: Build container
36-
uses: docker/build-push-action@v2
36+
uses: docker/build-push-action@v6
3737
with:
3838
context: ./deploy/base
3939
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x

.github/workflows/docker-build.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,36 @@ jobs:
2121
packages: write
2222
steps:
2323
- name: Checkout sources
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v4
2525

2626
# Action reference: https://github.com/docker/setup-qemu-action
2727
- name: Set up QEMU (for docker buildx)
28-
uses: docker/setup-qemu-action@v1
28+
uses: docker/setup-qemu-action@v3
2929

3030
# Action reference: https://github.com/docker/setup-buildx-action
3131
- name: Set up Docker Buildx
32-
uses: docker/setup-buildx-action@v1
32+
uses: docker/setup-buildx-action@v3
3333

3434
# Action reference: https://github.com/docker/login-action
3535
- name: Login to GitHub Container Registry
36-
uses: docker/login-action@v1
36+
uses: docker/login-action@v3
3737
with:
3838
registry: ghcr.io
3939
username: ${{ github.repository_owner }}
4040
password: ${{ secrets.GITHUB_TOKEN }}
4141

42+
- name: Lower case owner
43+
id: owner
44+
run: |
45+
OWNER="${{ github.repository_owner }}"
46+
echo "repo-owner=${OWNER@L}" >> $GITHUB_OUTPUT
47+
4248
# Action reference: https://github.com/docker/build-push-action
4349
- name: Build container
44-
uses: docker/build-push-action@v2
50+
uses: docker/build-push-action@v6
4551
with:
4652
context: ./deploy/base
4753
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
4854
push: true
4955
# keep tag in sync with deploy/base/Dockerfile:GANESHA_VERSION
50-
tags: ghcr.io/${{ github.repository_owner }}/nfs-ganesha:V4.0.8
56+
tags: ghcr.io/${{ steps.owner.outputs.repo-owner }}/nfs-ganesha:V4.0.8

.github/workflows/helm-chart-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v4
1414
with:
1515
fetch-depth: 0
1616

@@ -20,6 +20,6 @@ jobs:
2020
git config user.email "[email protected]"
2121
2222
- name: Run chart-releaser
23-
uses: helm/chart-releaser-action@v1.1.0
23+
uses: helm/chart-releaser-action@v1.6.0
2424
env:
2525
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)