Skip to content

Commit 2b81af4

Browse files
committed
update
1 parent c2f711f commit 2b81af4

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

.github/workflows/build-azure-capi-image.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@ on:
1717
description: Kubernetes version
1818
required: true
1919
type: string
20-
default: "1.33"
20+
2121
tag:
2222
description: ck8s-capi tag
2323
required: true
2424
type: string
25-
default: "0.8"
25+
26+
env:
27+
version: ${{ inputs.version }}
28+
tag: ${{ inputs.tag }}
2629

2730
defaults:
2831
run:
@@ -35,11 +38,11 @@ jobs:
3538
- name: Checkout repo
3639
uses: actions/checkout@v5
3740

38-
# - uses: actions/cache@v4
39-
# with:
40-
# path: |
41-
# ~/.config/packer/plugins
42-
# key: packer-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/*.pkr.hcl') }}
41+
- uses: actions/cache@v4
42+
with:
43+
path: |
44+
~/.config/packer/plugins
45+
key: packer-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/*.pkr.hcl') }}
4346

4447
- name: replace variables
4548
run: |

.github/workflows/build-openstack-capi-image.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ on:
1717
description: Kubernetes version
1818
required: true
1919
type: string
20-
default: "1.33"
2120
tag:
2221
description: ck8s-capi tag
2322
required: true
2423
type: string
25-
default: "0.8"
24+
25+
env:
26+
version: ${{ inputs.version }}
27+
tag: ${{ inputs.tag }}
2628

2729

2830
defaults:

0 commit comments

Comments
 (0)