Skip to content

Commit 3f3329d

Browse files
bitnikmrclrchtr
authored andcommitted
fix: script execution from parent dir
1 parent 2586051 commit 3f3329d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_packer/create.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ if [[ -z "${HCLOUD_TOKEN:-}" ]]; then
1111
export HCLOUD_TOKEN=$hcloud_token
1212
fi
1313
echo "Running packer build for talos-hcloud.pkr.hcl"
14-
packer init . && packer build .
14+
SCRIPT_DIR="$(dirname "$0")"
15+
packer init $SCRIPT_DIR && packer build $SCRIPT_DIR

0 commit comments

Comments
 (0)