Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
social
gsicrawler
Commits
11b72d9c
Commit
11b72d9c
authored
Mar 01, 2022
by
J. Fernando Sánchez
Browse files
fix CI
parent
79e94aac
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
11b72d9c
...
...
@@ -12,16 +12,16 @@ build:
-
docker
script
:
-
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 /kaniko/.docker/config.json
-
/kaniko/executor --context $CI_PROJECT_DIR --cache=true --dockerfile $CI_PROJECT_DIR/Dockerfile --cache-repo $CI_REGISTRY_IMAGE/cache --destination gsiupm/gsicrawler:$CI_COMMIT_SHA --destination gsiupm/gsicrawler:$CI_COMMIT_REF_SLUG
-
/kaniko/executor --context $CI_PROJECT_DIR --cache=true --dockerfile $CI_PROJECT_DIR/Dockerfile --cache-repo $CI_REGISTRY_IMAGE/cache --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
only
:
-
master
-
tags
deploy
:
only
:
-
master
-
tags
except
:
-
branches
tags
:
-
docker
image
:
alpine:3.7
...
...
k8s/gsicrawler-deployment.yaml.tmpl
View file @
11b72d9c
...
...
@@ -10,6 +10,7 @@ spec:
labels:
role: gsicrawler-web
app: gsicrawler
git_tag: "${CI_COMMIT_TAG}"
spec:
imagePullSecrets:
- name: registry.cluster.gsi.dit.upm.es
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment