-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpublish.sh
More file actions
21 lines (16 loc) · 726 Bytes
/
publish.sh
File metadata and controls
21 lines (16 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
set -xe
# Install local teads-central (documented @ https://confluence.teads.net/display/INFRA/teads-central+documentation)
curl -sL http://dl.teads.net/teads-central/get.sh | sh -
# Common variables
REG_URL=$(./teads-central docker dev-registry-url)
cleanup () { trap '' INT; ./teads-central docker clean-tagged; }
trap cleanup EXIT TERM
trap true INT
# common changes above this line should be done upstream #
##########################################################
source ./versions.sh
for VERSION in $VERSIONS;do
./teads-central docker tag-and-push --image environment-chefdk-ci --custom-tags $VERSION
./teads-central docker tag-and-push --image environment-chefdk-desktop --custom-tags $VERSION
done