Skip to content

Commit

Permalink
fix: commented aws ceds and login to ecr
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielg2020 committed Apr 15, 2024
1 parent 29e8311 commit d70aad0
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,18 @@ jobs:
type=semver,enable=${{ inputs.is-release }},pattern={{major}},value=${{ inputs.version }}
type=semver,enable=${{ inputs.is-release }},pattern={{version}},value=${{ inputs.version }}
- name: Configure AWS credentials
if: ${{ inputs.push }}
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ env.AWS_OIDC_ROLE }}
aws-region: ${{ env.AWS_REGION }}
# - name: Configure AWS credentials
# if: ${{ inputs.push }}
# uses: aws-actions/configure-aws-credentials@v4
# with:
# role-to-assume: ${{ env.AWS_OIDC_ROLE }}
# aws-region: ${{ env.AWS_REGION }}

- name: Login to ECR
if: ${{ inputs.push }}
uses: docker/login-action@v3
with:
registry: ${{ env.ECR_REGISTRY }}
# - name: Login to ECR
# if: ${{ inputs.push }}
# uses: docker/login-action@v3
# with:
# registry: ${{ env.ECR_REGISTRY }}

- name: Untag mutable tags
if: ${{ inputs.push && steps.mutable-meta.outputs.tags }}
Expand Down

0 comments on commit d70aad0

Please sign in to comment.