Skip to content

Commit 8d89e72

Browse files
committed
revert: docker build requires tags properly set
1 parent 168149b commit 8d89e72

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/cd.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ jobs:
6363
context: .
6464
platforms: linux/amd64,linux/arm64
6565
push: ${{ github.event_name != 'pull_request' }}
66-
build-args: |
67-
DOCKER_METADATA_OUTPUT_JSON
66+
tags: ${{ steps.meta.outputs.tags }}
67+
labels: ${{ steps.meta.outputs.labels }}
68+
annotations: ${{ steps.meta.outputs.annotations }}
6869
cache-from: type=local,src=/tmp/.buildx-cache
6970
cache-to: type=local,dest=/tmp/.buildx-cache
7071

@@ -120,8 +121,9 @@ jobs:
120121
context: .
121122
platforms: linux/amd64,linux/arm64
122123
push: ${{ github.event_name != 'pull_request' }}
123-
build-args: |
124-
DOCKER_METADATA_OUTPUT_JSON
124+
tags: ${{ steps.meta.outputs.tags }}
125+
labels: ${{ steps.meta.outputs.labels }}
126+
annotations: ${{ steps.meta.outputs.annotations }}
125127
cache-from: type=local,src=/tmp/.buildx-cache
126128
cache-to: type=local,dest=/tmp/.buildx-cache
127129

0 commit comments

Comments
 (0)