From a812dae94eb9f5ab9cf990890e0cae7d2b2153a8 Mon Sep 17 00:00:00 2001 From: Stefan Sundin Date: Sun, 2 Oct 2022 21:52:01 -0700 Subject: [PATCH] v0.2.0 --- BUILDING.md | 9 ++++++++- Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 1522287..167eab2 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -1,10 +1,17 @@ To build a multi-arch docker image you can run: ```shell +# Simple build for one architecture: +docker build --pull --progress plain -t bottlerocket-bootstrap-associate-eip . + +# Use buildx to build multi-arch images: docker buildx create --use --name multiarch --node multiarch0 +# Beta release (may be limited to one architecture): +docker buildx build --pull --push --progress plain --platform linux/arm64 -t public.ecr.aws/stefansundin/bottlerocket-bootstrap-associate-eip:beta -f Dockerfile.debug . + # You probably want to change the tag name if you are not me: -docker buildx build --pull --push --progress plain --platform linux/arm64,linux/amd64 -t public.ecr.aws/stefansundin/bottlerocket-bootstrap-associate-eip:v0.1.0 . +docker buildx build --pull --push --progress plain --platform linux/arm64,linux/amd64 -t public.ecr.aws/stefansundin/bottlerocket-bootstrap-associate-eip:v0.2.0 . # If the new version is stable then update latest: docker buildx build --pull --push --progress plain --platform linux/arm64,linux/amd64 -t public.ecr.aws/stefansundin/bottlerocket-bootstrap-associate-eip:latest . diff --git a/Cargo.lock b/Cargo.lock index 84d5366..72dc65e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -337,7 +337,7 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bottlerocket-bootstrap-associate-eip" -version = "0.1.0" +version = "0.2.0" dependencies = [ "aws-config", "aws-sdk-ec2", diff --git a/Cargo.toml b/Cargo.toml index 6db0df0..e811ac5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bottlerocket-bootstrap-associate-eip" -version = "0.1.0" +version = "0.2.0" edition = "2021" [dependencies]