We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c8ce27 commit f153f43Copy full SHA for f153f43
1 file changed
.github/workflows/build.yaml
@@ -78,6 +78,12 @@ jobs:
78
env:
79
TAGS: ${{ steps.meta.outputs.tags }}
80
run: |
81
+ # Prepare annotation flags from DOCKER_METADATA_OUTPUT_LABELS
82
+ ANNOTATION_FLAGS=""
83
+ while IFS= read -r annotation; do
84
+ ANNOTATION_FLAGS+=" --annotation $annotation"
85
+ done <<< "$DOCKER_METADATA_OUTPUT_LABELS"
86
+
87
echo "$TAGS" | while IFS= read -r tag; do
- docker buildx imagetools create ghcr.io/trainyapp/postgres:sha-07e7eade33ccb579417c7f2a96374177eff91570-arm64 ghcr.io/trainyapp/postgres:sha-07e7eade33ccb579417c7f2a96374177eff91570-amd64 --tag=$tag
88
+ docker buildx imagetools create ghcr.io/trainyapp/postgres:sha-07e7eade33ccb579417c7f2a96374177eff91570-arm64 ghcr.io/trainyapp/postgres:sha-07e7eade33ccb579417c7f2a96374177eff91570-amd64 --tag=$tag $ANNOTATION_FLAGS
89
done
0 commit comments