Skip to content

Commit c9a0c3a

Browse files
committed
Configure scripts to exit if any command fails
1 parent 4c001fc commit c9a0c3a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

next-image-tag-number/action.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env sh
22

3+
set -e
4+
35
if ! echo "$1" | grep -q "^http"; then
46
IMAGE_REPOSITORY_URL="https://$1"
57
else

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env sh
22

3+
set -e
4+
35
CHANNEL_NAME=$1
46
IMGPKG_BUNDLE_IMAGE=$2
57
BASE_PATH=$3

0 commit comments

Comments
 (0)