File tree 2 files changed +8
-1
lines changed
set-vendir-channels-path-to-imgpkg-bundle
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
CHANNEL_NAME=$1
6
6
IMGPKG_BUNDLE_IMAGE=$2
7
- BASE_PATH=$3
7
+ BEARER_TOKEN=$3
8
+ BASE_PATH=$4
8
9
9
10
mkdir -p " $BASE_PATH "
10
11
cd " $BASE_PATH "
@@ -29,3 +30,5 @@ yq -i "
29
30
)
30
31
| .directories |= sort_by(.path == \" channels\" | not)
31
32
" " $VENDIR_FILE "
33
+
34
+ vendir sync
Original file line number Diff line number Diff line change 8
8
imgpkg_bundle_image :
9
9
description : " The imgpkg bundle image."
10
10
required : true
11
+ bearer_token :
12
+ description : Optional bearer token for authentication.
13
+ required : false
11
14
path :
12
15
description : " The base directory path where vendir.yml is located."
13
16
required : false
19
22
args :
20
23
- ${{ inputs.channel_name }}
21
24
- ${{ inputs.imgpkg_bundle_image }}
25
+ - ${{ inputs.bearer_token }}
22
26
- ${{ inputs.path }}
You can’t perform that action at this time.
0 commit comments