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
Tags 1.0
No related merge requests found
Pipeline #5919 passed
image: node:latest
stages:
- Build
variables:
CONTAINER_IMAGE: 'registry.kszk.bme.hu/kszk/devteam/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME'
stages:
- Docker Build
Install_Test:
stage: Build
Docker build:
stage: Docker Build
tags: [docker]
only:
- tags
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: ['']
script:
- npm install
- ./node_modules/.bin/eslint .
- 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