File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 6
6
platform :
7
7
required : true
8
8
type : string
9
+ platform_pair :
10
+ required : true
11
+ type : string
9
12
registry_image :
10
13
required : true
11
14
type : string
23
26
build :
24
27
runs-on : ${{ inputs.runs_on }}
25
28
steps :
26
- -
27
- name : Prepare Platform Environment
28
- run : |
29
- platform=${{ inputs.platform }}
30
- echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
31
29
-
32
30
name : Checkout
33
31
uses : actions/checkout@v4
72
70
name : Upload digest
73
71
uses : actions/upload-artifact@v4
74
72
with :
75
- name : digests-${{ env.PLATFORM_PAIR }}
73
+ name : digests-${{ inputs.platform_pair }}
76
74
path : /tmp/digests/*
77
75
if-no-files-found : error
78
76
retention-days : 1
Original file line number Diff line number Diff line change 23
23
secrets : inherit
24
24
with :
25
25
platform : linux/amd64
26
+ platform_pair : linux_amd64
26
27
registry_image : ${{ env.REGISTRY_IMAGE }}
27
28
runtime : ${{ github.event.inputs.runtime }}
28
29
buildpack : ${{ github.event.inputs.buildpack }}
33
34
secrets : inherit
34
35
with :
35
36
platform : linux/arm64
37
+ platform_pair : linux_arm64
36
38
registry_image : ${{ env.REGISTRY_IMAGE }}
37
39
runtime : ${{ github.event.inputs.runtime }}
38
40
buildpack : ${{ github.event.inputs.buildpack }}
You can’t perform that action at this time.
0 commit comments