Skip to content

Commit

Permalink
GHA: update action versions
Browse files Browse the repository at this point in the history
To use Node 20.
  • Loading branch information
gaborcsardi committed Feb 6, 2024
1 parent e2abad7 commit 10b47cf
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
containers: ${{ steps.setup-matrix.outputs.containers }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up matrix of containers
id: setup-matrix
run: |
Expand All @@ -30,26 +30,26 @@ jobs:
name: ${{ matrix.container }}

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

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

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

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Build
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
platforms: linux/amd64
context: containers/${{ matrix.container }}
Expand All @@ -62,7 +62,7 @@ jobs:
docker run rhub/rig:test rig ls
- name: Push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
platforms: linux/amd64, linux/arm64
context: containers/${{ matrix.container }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deb-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Update
uses: gaborcsardi/debian-repo@v1
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 10

Expand All @@ -68,7 +68,7 @@ jobs:
make linux-in-docker
- name: Upload build as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success()
with:
name: rig-linux-x86_64
Expand All @@ -86,7 +86,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up matrix of containers
id: matrix-setup-x86_64
Expand All @@ -105,10 +105,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download build from artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: rig-linux-x86_64
path: .
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 10

Expand All @@ -146,7 +146,7 @@ jobs:
make linux-in-docker
- name: Upload build as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success()
with:
name: rig-linux-aarch64
Expand All @@ -164,7 +164,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up matrix of containers
id: matrix-setup-aarch64
Expand All @@ -189,10 +189,10 @@ jobs:
uses: docker/setup-buildx-action@v2

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download build from artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: rig-linux-aarch64
path: .
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 10

Expand Down Expand Up @@ -266,7 +266,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 10

Expand All @@ -283,7 +283,7 @@ jobs:
make win
shell: bash
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: success()
with:
name: rig-windows
Expand Down

0 comments on commit 10b47cf

Please sign in to comment.