File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Manual deploy
2+ on :
3+ workflow_dispatch :
4+
5+ env :
6+ AWS_ACCESS_KEY_ID : AKIA46X5W6CZBLO3VBND
7+
8+ jobs :
9+ deploy :
10+ name : Deploy
11+ runs-on : ubuntu-22.04
12+ steps :
13+ - name : Checkout the source code
14+ uses : actions/checkout@v4
15+ with :
16+ fetch-depth : 1
17+
18+ - uses : docker/setup-buildx-action@v2
19+ - name : Build Docker image
20+ uses : docker/build-push-action@v4
21+ with :
22+ context : .
23+ # Export the image to Docker to make it available in the next step
24+ load : true
25+ tags : rustc-perf
26+ cache-from : type=gha
27+ cache-to : type=gha,mode=max
28+
29+ - name : Deploy to production
30+ uses : rust-lang/simpleinfra/github-actions/upload-docker-image@master
31+ with :
32+ image : rustc-perf
33+ repository : rust-rustc-perf
34+ region : us-west-1
35+ redeploy_ecs_cluster : rust-ecs-prod
36+ redeploy_ecs_service : rustc-perf
37+ aws_access_key_id : " ${{ env.AWS_ACCESS_KEY_ID }}"
38+ aws_secret_access_key : " ${{ secrets.AWS_SECRET_ACCESS_KEY }}"
You can’t perform that action at this time.
0 commit comments