Skip to content

Commit f00fb73

Browse files
committed
chore: add build target to tag
1 parent 4f3e110 commit f00fb73

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/mainnet-beta.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
run: |
3232
docker build \
3333
-t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG \
34-
-t $ECR_REGISTRY/$ECR_REPOSITORY:latest-$BRANCH_NAME \
34+
-t $ECR_REGISTRY/$ECR_REPOSITORY:latest-$BRANCH_NAME-amd64 \
3535
-f ./Dockerfile \
3636
.
3737
3838
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
39-
docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest-$BRANCH_NAME
39+
docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest-$BRANCH_NAME-amd64
4040
4141
deploy:
4242
runs-on: ubicloud

.github/workflows/master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
run: |
3232
docker build \
3333
-t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG \
34-
-t $ECR_REGISTRY/$ECR_REPOSITORY:latest-$BRANCH_NAME \
34+
-t $ECR_REGISTRY/$ECR_REPOSITORY:latest-$BRANCH_NAME-amd64 \
3535
-f ./Dockerfile \
3636
.
3737
3838
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
39-
docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest-$BRANCH_NAME
39+
docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest-$BRANCH_NAME-amd64
4040
4141
deploy:
4242
runs-on: ubicloud

0 commit comments

Comments
 (0)