From 325d2ce62700fa5da56a77d6e1aaeae83be118a4 Mon Sep 17 00:00:00 2001 From: Guillaume LEGENDRE Date: Thu, 22 Aug 2024 16:25:58 +0200 Subject: [PATCH] Delete Amazon ECR --- .github/workflows/ecr.yml | 41 --------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 .github/workflows/ecr.yml diff --git a/.github/workflows/ecr.yml b/.github/workflows/ecr.yml deleted file mode 100644 index 7bad46defe..0000000000 --- a/.github/workflows/ecr.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Amazon ECR - -on: - workflow_run: - workflows: ["Docker Hub"] - types: - - completed - -env: - AWS_REGION: us-east-1 - ECR_REPOSITORY: public.ecr.aws/z4c3o6n6 - CONTAINER_NAME: autotrain-api - -jobs: - ecr: - name: Amazon ECR - runs-on: - group: 'aws-general-8-plus' - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@0e613a0980cbf65ed5b322eb7a1e075d28913a83 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: ${{ env.AWS_REGION }} - - - name: Login to Amazon ECR - id: login-ecr - uses: aws-actions/amazon-ecr-login@62f4f872db3836360b72999f4b87f1ff13310f3a - with: - registry-type: public - - - name: Build, tag, and push image to Amazon ECR - id: build-image - env: - ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} - IMAGE_TAG: latest - run: make api