Commit 0df6ba96 authored by Wouter's avatar Wouter

Use curl Docker image for curl-based jobs

parent 9313472f
......@@ -35,6 +35,7 @@ Build other:
# The repository itself is mirrored to GitHub immediately on every push.
Build branch on Docker Hub:
stage: deploy
image: governmentpaas/curl-ssl
script:
- 'curl -H "Content-Type: application/json" --data "{\"source_type\": \"Branch\", \"source_name\": \"${CI_BUILD_REF_NAME}\"}" -X POST https://registry.hub.docker.com/u/${DOCKERHUB_USER}/${DOCKERHUB_REPO}/trigger/${DOCKERHUB_TOKEN}/'
except:
......@@ -42,6 +43,7 @@ Build branch on Docker Hub:
Build tag on Docker Hub:
stage: deploy
image: governmentpaas/curl-ssl
script:
- 'curl -H "Content-Type: application/json" --data "{\"source_type\": \"Tag\", \"source_name\": \"${CI_BUILD_REF_NAME}\"}" -X POST https://registry.hub.docker.com/u/${DOCKERHUB_USER}/${DOCKERHUB_REPO}/trigger/${DOCKERHUB_TOKEN}/'
except:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment