From 31cfe683ad7e7892bb4acf4c2bb4065d533976ba Mon Sep 17 00:00:00 2001 From: fernandoataoldotcom Date: Mon, 23 Oct 2023 07:57:00 -0600 Subject: [PATCH] docs(readme): update version and fix value for aws_role_to_assume (#16) * docs(readme): update version and fix value for aws_role_to_assume * docs(ecr-iam-role): add required permission to sample block --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3790fe0..224c415 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Build and Push Container to ghcr.io - uses: GlueOps/github-actions-build-push-containers@v0.3.0 + uses: GlueOps/github-actions-build-push-containers@v0.3.2 ``` #### **Docker Hub (docker.io)** @@ -56,7 +56,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Build and Push Container to docker.io - uses: GlueOps/github-actions-build-push-containers@v0.3.0 + uses: GlueOps/github-actions-build-push-containers@v0.3.2 with: registry: "docker.io" dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }} @@ -77,7 +77,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Build and Push Container to ECR - uses: GlueOps/github-actions-build-push-containers@v0.3.0 + uses: GlueOps/github-actions-build-push-containers@v0.3.2 with: registry: ".dkr.ecr..amazonaws.com" aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} @@ -98,15 +98,16 @@ on: permissions: id-token: write + contents: read # required because configuring permissions removes all permissions not declared jobs: build_and_push: runs-on: ubuntu-latest steps: - name: Build and Push Container to ECR - uses: GlueOps/github-actions-build-push-containers@v0.3.0 + uses: GlueOps/github-actions-build-push-containers@v0.3.2 with: registry: ".dkr.ecr..amazonaws.com" - aws_role_to_assume: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws_role_to_assume: ${{ secrets.AWS_ECR_ROLE_ARN }} aws_default_region: ${{ env.AWS_REGION}} ```