Trigger a build and deploy of docker image on tags
@@ -19,3 +19,12 @@ script:
- make build
- docker images
- docker run `make version` --help
+
+# push an image on tags
+deploy:
+ provider: script
+ script: bash docker_deploy.sh
+ skip_cleanup: true
+ on:
+ tags: true
+ condition: -n "$DOCKER_PASSWORD"
