Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
docs(readme): update version and fix value for aws_role_to_assume (#16)
Browse files Browse the repository at this point in the history
* docs(readme): update version and fix value for aws_role_to_assume

* docs(ecr-iam-role): add required permission to sample block
  • Loading branch information
fernandoataoldotcom authored Oct 23, 2023
1 parent c9eac8a commit 31cfe68
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)**
Expand All @@ -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 }}
Expand All @@ -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: "<aws-account-id>.dkr.ecr.<aws-region>.amazonaws.com"
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand All @@ -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: "<aws-account-id>.dkr.ecr.<aws-region>.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}}
```

0 comments on commit 31cfe68

Please sign in to comment.