Skip to content

Commit

Permalink
chore: update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Hi-Fi committed Oct 22, 2024
1 parent 7027d65 commit 175acac
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 17 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/chart-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ jobs:
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v1
uses: azure/setup-helm@v4
with:
version: v3.4.0

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: 3.7

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

- name: Run chart-testing (list-changed)
id: list-changed
Expand All @@ -48,7 +48,7 @@ jobs:
run: ct lint --config ct.yaml

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

- name: Run chart-testing (install)
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docker-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

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

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

# Action reference: https://github.com/docker/build-push-action
- name: Build container
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: ./deploy/base
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,36 @@ jobs:
packages: write
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4

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

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

# Action reference: https://github.com/docker/login-action
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Lower case owner
id: owner
run: |
OWNER="${{ github.repository_owner }}"
echo "repo-owner=${OWNER@L}" >> $GITHUB_OUTPUT
# Action reference: https://github.com/docker/build-push-action
- name: Build container
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: ./deploy/base
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
push: true
# keep tag in sync with deploy/base/Dockerfile:GANESHA_VERSION
tags: ghcr.io/${{ github.repository_owner }}/nfs-ganesha:V4.0.8
tags: ghcr.io/${{ steps.owner.outputs.repo-owner }}/nfs-ganesha:V4.0.8
4 changes: 2 additions & 2 deletions .github/workflows/helm-chart-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -20,6 +20,6 @@ jobs:
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.1.0
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 175acac

Please sign in to comment.