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

update gitlab ci

parent 51974026
No related branches found
No related tags found
No related merge requests found
image: node:latest image: node:latest
stages: variables:
- Build CONTAINER_IMAGE: 'registry.kszk.bme.hu/kszk/devteam/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME'
stages:
- Docker Build
Install_Test: Docker build:
stage: Build stage: Docker Build
tags: [docker]
only:
- tags
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: ['']
script: script:
- npm install - echo "{\"auths\":{\"registry.kszk.bme.hu\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- ./node_modules/.bin/eslint . - /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