1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-14 12:42:27 +00:00

Fix docker build and k8s svc

This commit is contained in:
J. Fernando Sánchez 2022-05-23 15:19:46 +02:00
parent 92b654b36c
commit 55e5ce3a66
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

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