Skip to content

fix: update workflow docker permissions #22

fix: update workflow docker permissions

fix: update workflow docker permissions #22

name: Container Images
permissions:
id-token: write # Setting the permissions to write is required in order to request an OpenID Connect JWT Token as described in the docs.
contents: write # This is required for actions/checkout
pull-requests: write
on:
push:
jobs:
ecr_login_push:
name: "ecr login and push"
uses: consensys/github-toolkit/.github/workflows/ecr-login-push.yml@v2

Check failure on line 15 in .github/workflows/container-image.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/container-image.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/container-image.yaml" -> "consensys/github-toolkit/.github/workflows/ecr-login-push.yml@v2" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
with:
role_to_assume: arn:aws:iam::204717343847:role/mirror-image-oidc
aws_account_id: 204717343847
ecr_repo_name: infura-dedicated/aws-ebs-csi-driver
working_directory: ./
push_to_ecr: true
image_tag: v${{ github.ref }}