Fix docker build and k8s svc

master
J. Fernando Sánchez 2 years ago
parent 92b654b36c
commit 55e5ce3a66

@ -22,6 +22,7 @@ docker:
tags:
- docker
script:
- echo $CI_COMMIT_TAG > senpy/VERSION
- 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
# The skip-tls-verify flag is there because our registry certificate is self signed

@ -12,6 +12,7 @@ spec:
metadata:
labels:
app: senpy-latest
role: senpy-latest
spec:
containers:
- name: senpy-latest

Loading…
Cancel
Save