Skip to content

Commit d9713bf

Browse files
committed
remove ecr build
1 parent 66b275c commit d9713bf

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -26,35 +26,3 @@ jobs:
2626
env:
2727
TEST_MODE: "1"
2828
DEV_MODE: "1"
29-
build-and-push-ecr:
30-
runs-on: ubuntu-latest
31-
needs: [run-tests]
32-
permissions:
33-
id-token: write
34-
contents: read
35-
steps:
36-
- uses: actions/checkout@v2
37-
- uses: aws-actions/[email protected]
38-
with:
39-
role-to-assume: arn:aws:iam::192824654885:role/github-actions-ecr
40-
aws-region: eu-west-2
41-
- uses: docker/login-action@v2
42-
with:
43-
registry: public.ecr.aws
44-
env:
45-
AWS_REGION: us-east-1
46-
- run: docker context create builders
47-
- uses: docker/setup-buildx-action@v2
48-
with:
49-
version: latest
50-
endpoint: builders
51-
- uses: haya14busa/action-cond@v1
52-
id: image_tag
53-
with:
54-
cond: ${{ startsWith(github.ref, 'refs/tags/') }}
55-
if_true: ${{ github.ref_name }}
56-
if_false: ${{ github.sha }}
57-
- uses: docker/build-push-action@v2
58-
with:
59-
push: true
60-
tags: public.ecr.aws/pyth-network/${{ github.event.repository.name }}:${{ steps.image_tag.outputs.value }}

0 commit comments

Comments
 (0)