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
stages:
- Build
# - Test
# - Test
- Docker build
- Deploy
......@@ -8,12 +8,12 @@ stages:
# - mongo
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'
Build:
stage: Build
tags: [kszk]
tags: [docker]
image: node:14
script:
- npm install
......@@ -40,13 +40,13 @@ Build:
Docker build:
stage: Docker build
tags: [kszk]
tags: [docker]
only:
- master
- dev
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: ['']
entrypoint: [""]
script:
- 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment