forked from restreamio/docker-gstreamer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpush-multi-arch-latest.sh
More file actions
executable file
·22 lines (14 loc) · 941 Bytes
/
push-multi-arch-latest.sh
File metadata and controls
executable file
·22 lines (14 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
set -e
echo $DATE
TAG_BASENAME="restreamio/gstreamer:$DATE"
AMD64_TAG_BASENAME=$(cat /tmp/docker-gst-ci/workspace/docker-tag-basename-x86_64.txt)
ARM64_TAG_BASENAME=$(cat /tmp/docker-gst-ci/workspace/docker-tag-basename-aarch64.txt)
docker manifest create $TAG_BASENAME-dev-with-source --amend $AMD64_TAG_BASENAME-dev-with-source --amend $ARM64_TAG_BASENAME-dev-with-source
docker manifest push docker.io/$TAG_BASENAME-dev-with-source
docker manifest create $TAG_BASENAME-dev --amend $AMD64_TAG_BASENAME-dev --amend $ARM64_TAG_BASENAME-dev
docker manifest push docker.io/$TAG_BASENAME-dev
docker manifest create $TAG_BASENAME-prod --amend $AMD64_TAG_BASENAME-prod --amend $ARM64_TAG_BASENAME-prod
docker manifest push docker.io/$TAG_BASENAME-prod
docker manifest create $TAG_BASENAME-prod-dbg --amend $AMD64_TAG_BASENAME-prod-dbg --amend $ARM64_TAG_BASENAME-prod-dbg
docker manifest push docker.io/$TAG_BASENAME-prod-dbg