From eb748f2f642d57f2ac299ec7ea509b2a20c775f0 Mon Sep 17 00:00:00 2001 From: William Ronchetti Date: Wed, 14 Dec 2022 12:16:42 -0500 Subject: [PATCH] add buildx buildspec for tibanna --- buildspec.yml | 12 ++++++++++++ pyproject.toml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 buildspec.yml diff --git a/buildspec.yml b/buildspec.yml new file mode 100644 index 00000000..ed033a07 --- /dev/null +++ b/buildspec.yml @@ -0,0 +1,12 @@ +version: 0.2 + +phases: + pre_build: + commands: + - echo Logging in to Amazon ECR... + - aws ecr get-login-password --region $AWS_DEFAULT_REGION | docker login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com + build: + commands: + - echo Build started on `date` + - echo Building the Docker image... + - docker buildx build --push --platform linux/amd64,linux/arm64 -t tibanna_awsf --build-arg version=$IMAGE_TAG awsf3-docker/ diff --git a/pyproject.toml b/pyproject.toml index 4ebfc3ee..5acdfcc9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "tibanna" -version = "3.0.0" +version = "3.0.1" description = "Tibanna runs portable pipelines (in CWL/WDL) on the AWS Cloud." authors = ["4DN-DCIC Team "] license = "MIT"