Skip to content

Commit 2481ac4

Browse files
committed
f
1 parent da58b6b commit 2481ac4

File tree

1 file changed

+26
-7
lines changed

1 file changed

+26
-7
lines changed

.github/workflows/image-deps-updater.yaml

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ on:
88
k0s-version:
99
description: 'K0s version for discovering image versions'
1010
required: false
11+
push:
12+
branches:
13+
- emosbaugh/sc-108755/use-chainguard-openebs
1114

1215
jobs:
13-
update-k0s-images:
16+
compile-buildtools:
1417
runs-on: ubuntu-20.04
1518
steps:
1619
- name: Checkout
@@ -24,6 +27,24 @@ jobs:
2427
- name: Compile buildtools
2528
run: make buildtools
2629

30+
- name: Upload buildtools artifact
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: buildtools
34+
path: output/bin/buildtools
35+
36+
update-k0s-images:
37+
runs-on: ubuntu-20.04
38+
steps:
39+
- name: Checkout
40+
uses: actions/checkout@v4
41+
42+
- name: Download buildtools artifact
43+
uses: actions/download-artifact@v4
44+
with:
45+
name: buildtools
46+
path: output/bin/buildtools
47+
2748
- name: Update k0s images
2849
env:
2950
REGISTRY_SERVER: index.docker.io
@@ -60,13 +81,11 @@ jobs:
6081
- name: Checkout
6182
uses: actions/checkout@v4
6283

63-
- name: Setup Go
64-
uses: actions/setup-go@v5
84+
- name: Download buildtools artifact
85+
uses: actions/download-artifact@v4
6586
with:
66-
go-version-file: go.mod
67-
68-
- name: Compile buildtools
69-
run: make buildtools
87+
name: buildtools
88+
path: output/bin/buildtools
7089

7190
- name: Update OpenEBS images
7291
env:

0 commit comments

Comments
 (0)