mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-09-28 04:28:03 +02:00
Add annotations to Docker manifests
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -103,8 +103,14 @@ jobs:
|
||||
|
||||
- name: Push manifests
|
||||
run: |
|
||||
for tag in ${{ join(fromJSON(steps.meta.outputs.json).tags, ' ') }}
|
||||
ANNOTATIONS=""
|
||||
for annotation in "${{ join(fromJSON(steps.meta.outputs.json).annotations, '" "') }}"
|
||||
do
|
||||
docker buildx imagetools create -t $tag ${tag}-amd64 ${tag}-arm64
|
||||
ANNOTATIONS="$ANNOTATIONS --annotation '$annotation'";
|
||||
done
|
||||
|
||||
for tag in ${{ join(fromJSON(steps.meta.outputs.json).tags, ' ') }}
|
||||
do
|
||||
docker buildx imagetools create -t $tag ${tag}-amd64 ${tag}-arm64 ${ANNOTATIONS}
|
||||
done
|
||||
|
||||
|
Reference in New Issue
Block a user