Skip to content

Commit 90b4fe8

Browse files
committed
fix(workflow): remove bake-target from Docker metadata action for API and Web
1 parent bb07d89 commit 90b4fe8

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
uses: docker/metadata-action@v5
2525
with:
2626
images: line/abc-user-feedback-api
27-
bake-target: api
2827
tags: |
2928
type=ref,event=branch
3029
type=ref,event=tag
@@ -35,7 +34,6 @@ jobs:
3534
uses: docker/metadata-action@v5
3635
with:
3736
images: line/abc-user-feedback-web
38-
bake-target: web
3937
tags: |
4038
type=ref,event=branch
4139
type=ref,event=tag
@@ -53,6 +51,7 @@ jobs:
5351
with:
5452
files: |
5553
./docker/docker-bake.hcl
56-
${{ steps.api-meta.outputs.bake-file }}
57-
${{ steps.web-meta.outputs.bake-file }}
5854
push: true
55+
set: |
56+
api.tags=${{ join(fromJson(steps.api-meta.outputs.json).tags, ',') }}
57+
web.tags=${{ join(fromJson(steps.web-meta.outputs.json).tags, ',') }}

0 commit comments

Comments
 (0)