Skip to content

Commit 8974c12

Browse files
committed
ci: Update all the github actions
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
1 parent 2817139 commit 8974c12

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,31 @@ jobs:
1616
uses: actions/checkout@v3
1717

1818
- name: Set up QEMU
19-
uses: docker/setup-qemu-action@v1.1.0
19+
uses: docker/setup-qemu-action@v2
2020

2121
- name: Set up Docker Buildx
2222
id: buildx
23-
uses: docker/setup-buildx-action@v1.3.0
23+
uses: docker/setup-buildx-action@v2
2424
with:
2525
driver-opts: network=host
2626

2727
- name: Build and push bootkit
28-
uses: docker/build-push-action@v2.4.0
28+
uses: docker/build-push-action@v3
2929
with:
3030
context: ./bootkit/
3131
platforms: linux/amd64,linux/arm64
3232
push: true
3333
tags: localhost:5000/tinkerbell/hook-bootkit:0.0
3434

3535
- name: Build and push tink-docker
36-
uses: docker/build-push-action@v2.4.0
36+
uses: docker/build-push-action@v3
3737
with:
3838
context: ./tink-docker/
3939
platforms: linux/amd64,linux/arm64
4040
push: true
4141
tags: localhost:5000/tinkerbell/hook-docker:0.0
4242

43-
- uses: cachix/install-nix-action@v16
43+
- uses: cachix/install-nix-action@v17
4444
with:
4545
nix_path: nixpkgs=channel:nixos-unstable
4646

@@ -59,7 +59,7 @@ jobs:
5959
GIT_VERSION: ${{ github.sha }}
6060

6161
# TODO: add artifacts for the built images
62-
- uses: actions/upload-artifact@v2
62+
- uses: actions/upload-artifact@v3
6363
with:
6464
name: hook-${{ github.sha }}.tar.gz
6565
path: hook-${{ github.sha }}.tar.gz

.github/workflows/kernel-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- run: make -C kernel devbuild ORG=${REGISTRY}:5000
2525

2626
# TODO: add artifacts for the built images
27-
#- uses: actions/upload-artifact@v2
27+
#- uses: actions/upload-artifact@v3
2828
# with:
2929
# name: TODO
3030
# path: TODO

.github/workflows/kernel-push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
- name: Login to quay.io
1515
if: ${{ github.actor != 'dependabot[bot]' }}
16-
uses: docker/login-action@v1
16+
uses: docker/login-action@v2
1717
with:
1818
registry: quay.io
1919
username: ${{ secrets.QUAY_USERNAME }}

.github/workflows/push.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,37 +11,37 @@ jobs:
1111
uses: actions/checkout@v3
1212

1313
- name: Set up QEMU
14-
uses: docker/setup-qemu-action@v1.1.0
14+
uses: docker/setup-qemu-action@v2
1515

1616
- name: Set up Docker Buildx
1717
id: buildx
18-
uses: docker/setup-buildx-action@v1.3.0
18+
uses: docker/setup-buildx-action@v2
1919

2020
- name: Login to quay.io
2121
if: ${{ github.actor != 'dependabot[bot]' }}
22-
uses: docker/login-action@v1
22+
uses: docker/login-action@v2
2323
with:
2424
registry: quay.io
2525
username: ${{ secrets.QUAY_USERNAME }}
2626
password: ${{ secrets.QUAY_PASSWORD }}
2727

2828
- name: Build and push bootkit
29-
uses: docker/build-push-action@v2.4.0
29+
uses: docker/build-push-action@v3
3030
with:
3131
context: ./bootkit/
3232
platforms: linux/amd64,linux/arm64
3333
push: ${{ github.actor != 'dependabot[bot]' }}
3434
tags: quay.io/tinkerbell/hook-bootkit:0.0
3535

3636
- name: Build and push tink-docker
37-
uses: docker/build-push-action@v2.4.0
37+
uses: docker/build-push-action@v3
3838
with:
3939
context: ./tink-docker/
4040
platforms: linux/amd64,linux/arm64
4141
push: ${{ github.actor != 'dependabot[bot]' }}
4242
tags: quay.io/tinkerbell/hook-docker:0.0
4343

44-
- uses: cachix/install-nix-action@v16
44+
- uses: cachix/install-nix-action@v17
4545
with:
4646
nix_path: nixpkgs=channel:nixos-unstable
4747

@@ -55,7 +55,7 @@ jobs:
5555
env:
5656
GIT_VERSION: ${{ github.sha }}
5757

58-
- uses: actions/upload-artifact@v2
58+
- uses: actions/upload-artifact@v3
5959
with:
6060
name: hook-${{ github.sha }}.tar.gz
6161
path: hook-${{ github.sha }}.tar.gz

0 commit comments

Comments
 (0)