Skip to content

Commit

Permalink
feat: add permission and change ECR URI
Browse files Browse the repository at this point in the history
  • Loading branch information
pitipume-flowaccount committed Sep 20, 2024
1 parent e923030 commit 249ad69
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .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-poom # 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 All @@ -31,8 +35,8 @@ jobs:

- name: Build, tag, and push Docker image
env:
ECR_URI: "778529894665.dkr.ecr.us-east-1.amazonaws.com/web-app"
IMAGE_TAG: latest
ECR_URI: "697698820969.dkr.ecr.us-east-1.amazonaws.com/web-app"
IMAGE_TAG: latest-poom-ecr
run: |
yarn --frozen-lockfile
yarn nx build api-flowaccount-workshop
Expand Down

0 comments on commit 249ad69

Please sign in to comment.