Skip to content

Commit

Permalink
Merge pull request #7 from drift-labs/master
Browse files Browse the repository at this point in the history
chore: add build target to tag
  • Loading branch information
jackwaller authored Dec 3, 2024
2 parents 753b61d + f00fb73 commit d0672e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mainnet-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0672e0

Please sign in to comment.