File tree 2 files changed +24
-32
lines changed
2 files changed +24
-32
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 56
56
platforms : linux/amd64,linux/arm64
57
57
push : true
58
58
tags : ${{ steps.meta.outputs.tags }}
59
+
60
+ AWS :
61
+ name : AWS ECR public
62
+ runs-on : ubuntu-latest
63
+ steps :
64
+ - name : Checkout
65
+ uses : actions/checkout@v2
66
+
67
+ - name : Configure AWS credentials
68
+ uses : aws-actions/configure-aws-credentials@v1
69
+ with :
70
+ role-to-assume : ${{ secrets.AWS_ARN }}
71
+ aws-region : ap-south-1
72
+
73
+ - name : Login to Amazon ECR
74
+ id : login-ecr
75
+ uses : aws-actions/amazon-ecr-login@v1
76
+
77
+ - name : Build, tag, and push the image to Amazon ECR
78
+ id : build-image
79
+ run : |
80
+ aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/r9h8b0z6
81
+ docker build -t public.ecr.aws/r9h8b0z6/cryptgeon:latest .
82
+ docker push public.ecr.aws/r9h8b0z6/cryptgeon:latest
You can’t perform that action at this time.
0 commit comments