CI/CD
This commit is contained in:
parent
aae85bef31
commit
dcc3064d1e
|
@ -4,10 +4,13 @@ variables:
|
|||
CI_REGISTRY_IMAGE_BACKEND: "$CI_REGISTRY_IMAGE:latest-backend"
|
||||
CI_REGISTRY_IMAGE_FRONTEND: "$CI_REGISTRY_IMAGE:latest-frontend"
|
||||
|
||||
before_script:
|
||||
.before_script: *before_script
|
||||
- docker info
|
||||
- docker login -u $CI_USERNAME -p $CI_ACCESS_TOKEN $CI_REGISTRY
|
||||
|
||||
before_script:
|
||||
<<: *before_script
|
||||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
|
@ -63,6 +66,8 @@ package-frontend:
|
|||
PACKAGE_CONTAINER_NAME: "cre_frontend_package"
|
||||
ARTIFACT_NAME: "ColorRecipesExplorer-$CI_PIPELINE_IID-ng"
|
||||
before_script:
|
||||
# Adding a reference to *before_script because the local before_script actually overrides the global one, which contains the docker login.
|
||||
<<: *before_script
|
||||
- apk update
|
||||
- apk add --no-cache zip
|
||||
- mkdir dist
|
||||
|
|
Loading…
Reference in New Issue