From f00fb732a57aaa190fb84298e82fa8a136f621b0 Mon Sep 17 00:00:00 2001 From: Jack Waller Date: Tue, 3 Dec 2024 14:36:27 +1100 Subject: [PATCH] chore: add build target to tag --- .github/workflows/mainnet-beta.yml | 4 ++-- .github/workflows/master.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mainnet-beta.yml b/.github/workflows/mainnet-beta.yml index dc130f9..00c17d0 100644 --- a/.github/workflows/mainnet-beta.yml +++ b/.github/workflows/mainnet-beta.yml @@ -31,12 +31,12 @@ jobs: run: | docker build \ -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG \ - -t $ECR_REGISTRY/$ECR_REPOSITORY:latest-$BRANCH_NAME \ + -t $ECR_REGISTRY/$ECR_REPOSITORY:latest-$BRANCH_NAME-amd64 \ -f ./Dockerfile \ . docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG - docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest-$BRANCH_NAME + docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest-$BRANCH_NAME-amd64 deploy: runs-on: ubicloud diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 269d743..61b912f 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -31,12 +31,12 @@ jobs: run: | docker build \ -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG \ - -t $ECR_REGISTRY/$ECR_REPOSITORY:latest-$BRANCH_NAME \ + -t $ECR_REGISTRY/$ECR_REPOSITORY:latest-$BRANCH_NAME-amd64 \ -f ./Dockerfile \ . docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG - docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest-$BRANCH_NAME + docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest-$BRANCH_NAME-amd64 deploy: runs-on: ubicloud