nixos/azure: upload-image.sh cleanup $1 handling

This commit is contained in:
Cole Mickens 2020-03-27 23:13:33 +00:00 committed by Jon
parent a5de97f21e
commit 627ae7e057

View File

@ -2,9 +2,9 @@
set -euo pipefail
set -x
attr="${1:-"azbasic"}"
image_nix="${1:-"./examples/basic/image.nix"}"
nix-build ./examples/basic/image.nix --out-link "azure"
nix-build "${image_nix}" --out-link "azure"
group="nixos-images"
location="westus2"