Skip to content
Snippets Groups Projects
Commit 9a54045b authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

update gitlab ci runner tags

parent c047e833
No related branches found
No related tags found
3 merge requests!24Auth, Profile, News, Entry Card, File management,!21update feature/news_api branch,!20update gitlab ci runner tags
Pipeline #5417 passed
...@@ -8,12 +8,12 @@ stages: ...@@ -8,12 +8,12 @@ stages:
# - mongo # - mongo
variables: variables:
CONTAINER_IMAGE: 'registry.kszk.bme.hu/bodysch/backend:$CI_COMMIT_REF_NAME' CONTAINER_IMAGE: "registry.kszk.bme.hu/bodysch/backend:$CI_COMMIT_REF_NAME"
# MONGODB_TEST_URI: 'mongodb://mongo/bodysch-test' # MONGODB_TEST_URI: 'mongodb://mongo/bodysch-test'
Build: Build:
stage: Build stage: Build
tags: [kszk] tags: [docker]
image: node:14 image: node:14
script: script:
- npm install - npm install
...@@ -40,13 +40,13 @@ Build: ...@@ -40,13 +40,13 @@ Build:
Docker build: Docker build:
stage: Docker build stage: Docker build
tags: [kszk] tags: [docker]
only: only:
- master - master
- dev - dev
image: image:
name: gcr.io/kaniko-project/executor:debug name: gcr.io/kaniko-project/executor:debug
entrypoint: [''] entrypoint: [""]
script: script:
- echo "{\"auths\":{\"registry.kszk.bme.hu\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - echo "{\"auths\":{\"registry.kszk.bme.hu\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CONTAINER_IMAGE - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CONTAINER_IMAGE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment