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:
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…
Reference in New Issue
Block a user