Skip to content

Commit

Permalink
[CI/CD] add testnet branch (aptos-labs#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
sherry-x authored May 9, 2022
1 parent 7e6dfd0 commit b9faf4b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,22 @@ workflows:
addl_tag: devnet
requires:
- docker-build-push
### on testnet branch update ###
# Ensure the latest is built on the "testnet" branch, and mirror from ECR to Dockerhub
testnet-branch-cut:
when:
equal: [testnet, << pipeline.git.branch >>]
jobs:
- docker-build-push:
context: aws-dev
addl_tag: testnet
- ecr-dockerhub-mirror:
context:
- aws-dev
- docker-aptoslabsbots
addl_tag: testnet
requires:
- docker-build-push
### on continuous_push scheduled pipeline ###
# Build the latest on "main" branch
continuous-push:
Expand Down

0 comments on commit b9faf4b

Please sign in to comment.