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 name: homepage
steps: steps:
- name: build sites - name: build
image: gcr.io/kaniko-project/executor:v1.9.0-debug image: gcr.io/kaniko-project/executor:v1.9.0-debug
environment: environment:
DOCKER_USERNAME: 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/angestoepselt:$TAG" --build-arg SITE=angestoepselt
- /kaniko/executor --cache --cache-dir=/cache --context . --destination "$IMAGE_BASE/coderdojo:$TAG" --build-arg SITE=coderdojo - /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 image: plugins/webhook
settings: settings:
urls: urls:
from_secret: portainer_stage_url from_secret: portainer_stage_url
depends_on: depends_on:
- build sites - build
when: when:
branch: branch:
exclude: exclude:
- main - main
- name: deploy production environment - name: deploy production
image: plugins/webhook image: plugins/webhook
settings: settings:
urls: urls:
from_secret: portainer_main_url from_secret: portainer_main_url
depends_on:
- build
when: when:
branch: branch:
- main - main