Skip to content

Commit 8f95c48

Browse files
committed
fix(ci): add bake-target for Docker metadata in CI workflows
1 parent a1ecb95 commit 8f95c48

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/docker-dev-image.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
uses: docker/metadata-action@v6
2323
with:
2424
images: line/abc-user-feedback-api
25+
bake-target: api
2526
tags: |
2627
type=ref,event=branch
2728
type=ref,event=tag
@@ -32,6 +33,7 @@ jobs:
3233
uses: docker/metadata-action@v6
3334
with:
3435
images: line/abc-user-feedback-web
36+
bake-target: web
3537
tags: |
3638
type=ref,event=branch
3739
type=ref,event=tag

.github/workflows/docker-prod-image.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
uses: docker/metadata-action@v6
2525
with:
2626
images: line/abc-user-feedback-api
27+
bake-target: api
2728
tags: |
2829
type=ref,event=branch
2930
type=ref,event=tag
@@ -34,6 +35,7 @@ jobs:
3435
uses: docker/metadata-action@v6
3536
with:
3637
images: line/abc-user-feedback-web
38+
bake-target: web
3739
tags: |
3840
type=ref,event=branch
3941
type=ref,event=tag

0 commit comments

Comments
 (0)