File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
set-vendir-channels-path-to-imgpkg-bundle Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,11 @@ yq -i "
3131 | .directories |= sort_by(.path == \" channels\" | not)
3232" " $VENDIR_FILE "
3333
34+ echo " BEARER_TOKEN is: ${BEARER_TOKEN:- not set} "
3435if [ -n " $BEARER_TOKEN " ]; then
36+ echo running vendir sync with IMGPKG_TOKEN
3537 IMGPKG_TOKEN=" $BEARER_TOKEN " vendir sync
3638else
39+ echo running vendir sync without IMGPKG_TOKEN
3740 vendir sync
3841fi
Original file line number Diff line number Diff line change @@ -3,18 +3,18 @@ description: Sets a vendir directory to a imgpkg bundle image.
33
44inputs :
55 channel_name :
6- description : " The path under the channels directory to update."
6+ description : The path under the channels directory to update.
77 required : true
88 imgpkg_bundle_image :
9- description : " The imgpkg bundle image."
9+ description : The imgpkg bundle image.
1010 required : true
1111 bearer_token :
1212 description : Optional bearer token for authentication.
1313 required : false
1414 path :
15- description : " The base directory path where vendir.yml is located."
15+ description : The base directory path where vendir.yml is located.
1616 required : false
17- default : " . "
17+ default : ' . '
1818
1919runs :
2020 using : docker
You can’t perform that action at this time.
0 commit comments