We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83d8e6e commit 9d5d85fCopy full SHA for 9d5d85f
2 files changed
.build/env_dockerhub.sh
@@ -4,10 +4,7 @@
4
echo "branch= $GIT_BRANCH"
5
GIT_BRANCH=${GIT_BRANCH/origin\/}
6
DTAG="${GIT_BRANCH/feature\/#}"
7
-if [[ $DTAG == "master" ]] ; then
8
- DTAG=latest
9
-fi
10
-echo "DOCKER_TAG=$DTAG"
11
+echo "DOCKER_TAG=$DTAG"
12
### will be read out by jenkins
13
echo "DOCKER_TAG=$DTAG" > $WORKSPACE/myjob.properties
.build/trigger_dockerhub.sh
@@ -9,7 +9,8 @@ URLS=(
"https://registry.hub.docker.com/u/consol/ubuntu-icewm-vnc/trigger/c73f3c3f-ecc3-46b1-9766-46c7dfca4d16/"
"https://registry.hub.docker.com/u/consol/centos-icewm-vnc/trigger/3ea59f8b-364a-4a31-b1f3-aa0201f321d2/"
)
-PAYLOAD='{"docker_tag": "'$DOCKER_TAG'"}'
+PAYLOAD='{"source_type": "Tag", "source_name": "'$GIT_TAG'"}'
+
14
#Loop
15
for URL in "${URLS[@]}"
16
do
0 commit comments