gitlab-ci: add frontend build
Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
This commit is contained in:
parent
c8f3babab9
commit
897a95ec5b
1 changed files with 18 additions and 0 deletions
18
.gitlab-ci.yml
Normal file
18
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
|
||||
stages:
|
||||
- build
|
||||
|
||||
build-front:
|
||||
stage: build
|
||||
image:
|
||||
name: gcr.io/kaniko-project/executor:v1.23.2-debug
|
||||
entrypoint: [""]
|
||||
script:
|
||||
- /kaniko/executor
|
||||
--cache=true
|
||||
--context "${CI_PROJECT_DIR}/summer2024-frontend"
|
||||
--dockerfile "${CI_PROJECT_DIR}/summer2024-frontend/Dockerfile"
|
||||
--destination "${CI_REGISTRY_IMAGE}/frontend:${CI_COMMIT_TAG}"
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
Loading…
Add table
Add a link
Reference in a new issue