From 9c7e23867bb2493328c0e917612d56b8bebeb19d Mon Sep 17 00:00:00 2001 From: JonJagger Date: Fri, 20 Oct 2023 15:51:59 +0100 Subject: [PATCH] CI: comment out configuring AWS credentials --- .github/workflows/main_WIP.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/main_WIP.yml b/.github/workflows/main_WIP.yml index bae994d7..8b050046 100644 --- a/.github/workflows/main_WIP.yml +++ b/.github/workflows/main_WIP.yml @@ -85,20 +85,20 @@ jobs: kosli report artifact cyberdojo/saver:${{ env.image_tag }} \ --artifact-type docker - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1-node16 - with: - aws-region: ${{ inputs.AWS_REGION }} - role-duration-seconds: 2400 - role-session-name: ${{ github.event.repository.name }} - role-to-assume: arn:aws:iam::${{ inputs.AWS_ACCOUNT_ID }}:role/${{ inputs.gh_actions_iam_role_name }} - - - name: Login to Amazon ECR (Elastic Container Registry) - id: login-ecr - uses: aws-actions/amazon-ecr-login@v1 - - - name: Push image to private ECR - run: | - docker tag cyberdojo/saver:${{ env.image_tag }} 244531986313.dkr.ecr.eu-central-1.amazonaws.com/saver:${{ env.image_tag }} - docker push 244531986313.dkr.ecr.eu-central-1.amazonaws.com/saver:${{ env.image_tag }} - docker logout +# - name: Configure AWS credentials +# uses: aws-actions/configure-aws-credentials@v1-node16 +# with: +# aws-region: ${{ inputs.AWS_REGION }} +# role-duration-seconds: 2400 +# role-session-name: ${{ github.event.repository.name }} +# role-to-assume: arn:aws:iam::${{ inputs.AWS_ACCOUNT_ID }}:role/${{ inputs.gh_actions_iam_role_name }} +# +# - name: Login to Amazon ECR (Elastic Container Registry) +# id: login-ecr +# uses: aws-actions/amazon-ecr-login@v1 +# +# - name: Push image to private ECR +# run: | +# docker tag cyberdojo/saver:${{ env.image_tag }} 244531986313.dkr.ecr.eu-central-1.amazonaws.com/saver:${{ env.image_tag }} +# docker push 244531986313.dkr.ecr.eu-central-1.amazonaws.com/saver:${{ env.image_tag }} +# docker logout