Update .gitlab-ci.yml
This commit is contained in:
parent
82ef58bafc
commit
eb9bfda892
|
@ -17,7 +17,7 @@ stages:
|
|||
|
||||
build:
|
||||
stage: build
|
||||
extends: .only-master-and-develop
|
||||
extends: .only-master
|
||||
script:
|
||||
- docker pull $CI_REGISTRY_IMAGE_NG || true
|
||||
- docker build --cache-from $CI_REGISTRY_IMAGE_NG -f ng.Dockerfile -t $CI_REGISTRY_IMAGE_NG .
|
||||
|
@ -26,7 +26,7 @@ build:
|
|||
package:
|
||||
stage: package
|
||||
needs: ['build']
|
||||
extends: .only-master-and-develop
|
||||
extends: .only-master
|
||||
variables:
|
||||
PACKAGE_CONTAINER_NAME: "cre_frontend_package"
|
||||
ARTIFACT_NAME: "ColorRecipesExplorer-frontend-$CI_PIPELINE_IID"
|
||||
|
@ -51,7 +51,7 @@ deploy:
|
|||
stage: deploy
|
||||
image: alpine:latest
|
||||
needs: ['package']
|
||||
extends: .only-master-and-develop
|
||||
extends: .only-master
|
||||
variables:
|
||||
DEPLOYED_CONTAINER_NAME: "cre_frontend"
|
||||
before_script:
|
||||
|
|
Loading…
Reference in New Issue