|
|
@ -22,6 +22,7 @@ docker:
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
- docker
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
|
|
|
|
- echo $CI_COMMIT_TAG > senpy/VERSION
|
|
|
|
- sed "s/{{PYVERSION}}/$PYTHON_VERSION/" Dockerfile.template > Dockerfile
|
|
|
|
- sed "s/{{PYVERSION}}/$PYTHON_VERSION/" Dockerfile.template > Dockerfile
|
|
|
|
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"},\"https://index.docker.io/v1/\":{\"auth\":\"$HUB_AUTH\"}}}" > /kaniko/.docker/config.json
|
|
|
|
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"},\"https://index.docker.io/v1/\":{\"auth\":\"$HUB_AUTH\"}}}" > /kaniko/.docker/config.json
|
|
|
|
# The skip-tls-verify flag is there because our registry certificate is self signed
|
|
|
|
# The skip-tls-verify flag is there because our registry certificate is self signed
|
|
|
|