Skip to content

Commit 56fb6c4

Browse files
committed
Add debugging statements to vendir sync command
1 parent 6a8c50a commit 56fb6c4

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

set-vendir-channels-path-to-imgpkg-bundle/action.sh

+2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ yq -i "
3232
" "$VENDIR_FILE"
3333

3434
if [ -n "$BEARER_TOKEN" ]; then
35+
echo running vendir sync with IMGPKG_TOKEN
3536
IMGPKG_TOKEN="$BEARER_TOKEN" vendir sync
3637
else
38+
echo running vendir sync without IMGPKG_TOKEN
3739
vendir sync
3840
fi

set-vendir-channels-path-to-imgpkg-bundle/action.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ description: Sets a vendir directory to a imgpkg bundle image.
33

44
inputs:
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

1919
runs:
2020
using: docker

0 commit comments

Comments
 (0)