rewrite php Jenkinsfile

This commit is contained in:
2020-04-05 13:32:42 -04:00
parent 7d969cb7ae
commit 42b5ffd95a
4 changed files with 64 additions and 27 deletions

12
dockerfiles/tasks/robo/build.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -e
#if [[ -z "${DKREGISTRY_PASS}" ]]; then
# docker login -u richard -p $DKREGISTRY_PASS $DKREGISTRY
#fi
docker build --rm -f Dockerfile -t xaicorp/php-robo .
docker run --rm xaicorp/php-robo --version | grep 'ansible 2.0.'
docker tag xaicorp/php-robo dkregistry.xai-corp.net:5000/xaicorp/php-robo
#docker push dkregistry.xai-corp.net:5000/xaicorp/php-robo