Skip to content

Commit

Permalink
update permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
CherryUmaporn committed Sep 20, 2024
1 parent baf7645 commit bcaa440
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/example-build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- 'example/pipeline-cherry' # or specify any branch you want to trigger this workflow on

permissions:
id-token: write
contents: read

jobs:
build-and-push:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -32,7 +36,7 @@ jobs:
- name: Build, tag, and push Docker image
env:
ECR_URI: "697698820969.dkr.ecr.us-east-1.amazonaws.com/web-app"
IMAGE_TAG: latest
IMAGE_TAG: latest-cherry-ecr
run: |
yarn --frozen-lockfile
yarn nx build api-flowaccount-workshop
Expand Down

0 comments on commit bcaa440

Please sign in to comment.