Skip to content

Commit

Permalink
chore: update workflow permissions (#4564)
Browse files Browse the repository at this point in the history
  • Loading branch information
techfg authored Feb 5, 2025
1 parent d7bd0fe commit 43ceb18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
id-token: write # This is required for requesting a OIDC JWT for AWS
packages: write # This is required for pushing to GHCR
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -52,7 +53,7 @@ jobs:
IMAGE_EXISTS=$(bash ./scripts/ecr-image-exists.sh $ECR_REGISTRY_ID $ECR_REPOSITORY_NAME $SHA_TAG)
if [[ "$IMAGE_EXISTS" == "no" ]]; then
echo "Docker image does not exist in ECR for tag $SHA_LATEST_TAG"
echo "Docker image does not exist in ECR for tag $SHA_TAG"
exit 1
fi
Expand Down

0 comments on commit 43ceb18

Please sign in to comment.