Skip to content

Commit

Permalink
Bump Github Action versions (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimsihk authored Jan 5, 2025
1 parent d23c47b commit 179f098
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 49 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: make verify-src

- name: Upload Coverage Report
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v5

sanity-build:
# to ignore builds on release
Expand All @@ -73,7 +73,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}

Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}

Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}

Expand All @@ -181,7 +181,7 @@ jobs:
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
# add each registry to which the image needs to be pushed here
# images: |
Expand All @@ -198,38 +198,38 @@ jobs:
echo "${{ steps.docker_meta.outputs.tags }}"
- name: Setup QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
version: v0.5.1

# - name: Login to DockerHub
# uses: docker/login-action@v2
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}

# - name: Login to Quay
# uses: docker/login-action@v2
# uses: docker/login-action@v3
# with:
# registry: quay.io
# username: ${{ secrets.QUAY_USERNAME }}
# password: ${{ secrets.QUAY_TOKEN }}

- name: Login to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push Image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
file: ./buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile
Expand Down Expand Up @@ -261,7 +261,7 @@ jobs:
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
# add each registry to which the image needs to be pushed here
# images: |
Expand All @@ -278,38 +278,38 @@ jobs:
echo "${{ steps.docker_meta.outputs.tags }}"
- name: Setup QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
version: v0.5.1

# - name: Login to DockerHub
# uses: docker/login-action@v2
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}

# - name: Login to Quay
# uses: docker/login-action@v2
# uses: docker/login-action@v3
# with:
# registry: quay.io
# username: ${{ secrets.QUAY_USERNAME }}
# password: ${{ secrets.QUAY_TOKEN }}

- name: Login to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push Image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: ./nfs-server-container
file: nfs-server-container/Dockerfile
Expand All @@ -326,20 +326,20 @@ jobs:
uses: actions/checkout@v4

# - name: Login to Docker Hub
# uses: docker/login-action@v2
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push the nfs-e2e image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
file: ./e2e-tests/Dockerfile
push: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/chart-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
fetch-depth: 0

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

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
check-latest: true
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}

Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}

Expand Down Expand Up @@ -158,23 +158,23 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}

- name: Setup QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
version: v0.5.1

- name: Build Image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
file: ./buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile
Expand All @@ -191,18 +191,18 @@ jobs:
uses: actions/checkout@v4

- name: Setup QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
version: v0.5.1

- name: Build Image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: ./nfs-server-container
file: nfs-server-container/Dockerfile
Expand All @@ -218,11 +218,11 @@ jobs:
uses: actions/checkout@v4

- name: Build the nfs-e2e image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
file: ./e2e-tests/Dockerfile
push: false
load: false
platforms: linux/amd64
tags: |
${{ env.IMAGE_ORG }}/nfs-e2e:ci
${{ env.IMAGE_ORG }}/nfs-e2e:ci
2 changes: 1 addition & 1 deletion .github/workflows/release-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v4
with:
version: v3.12.1

Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
# add each registry to which the image needs to be pushed here
# images: |
Expand All @@ -60,38 +60,38 @@ jobs:
echo "RELEASE TAG: ${RELEASE_TAG}"
- name: Setup QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
version: v0.5.1

# - name: Login to DockerHub
# uses: docker/login-action@v2
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}

# - name: Login to Quay
# uses: docker/login-action@v2
# uses: docker/login-action@v3
# with:
# registry: quay.io
# username: ${{ secrets.QUAY_USERNAME }}
# password: ${{ secrets.QUAY_TOKEN }}

- name: Login to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push Image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
file: ./buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
# add each registry to which the image needs to be pushed here
# images: |
Expand All @@ -142,38 +142,38 @@ jobs:
echo "RELEASE TAG: ${RELEASE_TAG}"
- name: Setup QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
version: v0.5.1

# - name: Login to DockerHub
# uses: docker/login-action@v2
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}

# - name: Login to Quay
# uses: docker/login-action@v2
# uses: docker/login-action@v3
# with:
# registry: quay.io
# username: ${{ secrets.QUAY_USERNAME }}
# password: ${{ secrets.QUAY_TOKEN }}

- name: Login to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push Image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: ./nfs-server-container
file: nfs-server-container/Dockerfile
Expand Down

0 comments on commit 179f098

Please sign in to comment.