Tweak CI step names

This commit is contained in:
Yannik Rödel 2023-04-28 08:33:28 +02:00
parent 9ee5841842
commit 350ec2a30d

View file

@ -2,7 +2,7 @@ kind: pipeline
name: homepage
steps:
- name: build sites
- name: build
image: gcr.io/kaniko-project/executor:v1.9.0-debug
environment:
DOCKER_USERNAME:
@ -17,23 +17,25 @@ steps:
- /kaniko/executor --cache --cache-dir=/cache --context . --destination "$IMAGE_BASE/angestoepselt:$TAG" --build-arg SITE=angestoepselt
- /kaniko/executor --cache --cache-dir=/cache --context . --destination "$IMAGE_BASE/coderdojo:$TAG" --build-arg SITE=coderdojo
- name: deploy staging environment
- name: deploy staging
image: plugins/webhook
settings:
urls:
from_secret: portainer_stage_url
depends_on:
- build sites
- build
when:
branch:
exclude:
- main
- name: deploy production environment
- name: deploy production
image: plugins/webhook
settings:
urls:
from_secret: portainer_main_url
depends_on:
- build
when:
branch:
- main