Makefile fixes for AWS and GCP image upload
SNAPSHOT_DATE=`date -d 'today' '+%Y%m%d'`
IMAGE_BASENAME=garden-linux
-VERSION=17
+VERSION=37
all: all_dev all_prod
@@ -13,7 +13,7 @@ aws:
./build.sh --features server,cloud,ghost,aws .build/aws bullseye $(SNAPSHOT_DATE)
aws-upload:
- ./bin/make-ec2-ami --bucket ami-debian-image-test --region eu-central-1 --image-name=$(AWS_IMAGE_NAME) .build/aws/aws.raw
+ ./bin/make-ec2-ami --bucket ami-debian-image-test --region eu-central-1 --image-name=$(AWS_IMAGE_NAME) .build/aws/$(SNAPSHOT_DATE)/amd64/bullseye/rootfs.raw
AWS_DEV_IMAGE_NAME=$(IMAGE_BASENAME)-dev-aws-$(VERSION)
aws-dev:
@@ -35,7 +35,7 @@ gcp:
./build.sh --features server,cloud,ghost,gcp .build/gcp bullseye $(SNAPSHOT_DATE)
gcp-upload:
- ./bin/make-gcp-ami --bucket garden-linux-test --image-name $(GCP_IMAGE_NAME) --raw-image-path .build/gcp/$(GCP_IMAGE_NAME).tar.gz
+ ./bin/make-gcp-ami --bucket garden-linux-test --image-name $(GCP_IMAGE_NAME) --raw-image-path .build/gcp/$(SNAPSHOT_DATE)/amd64/bullseye/rootfs-gcpimage.tar.gz
GCP_DEV_IMAGE_NAME=$(IMAGE_BASENAME)-dev-gcp-$(VERSION)
gcp-dev:
