Compare commits

...

2 commits

Author SHA1 Message Date
Benjamin Bach 3177b1f6f8
Add new build rule for "staging" branch
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-07-25 22:08:35 +02:00
Benjamin Bach f4daf56245
Use "stable" tag on "main" branch 2023-07-25 22:05:53 +02:00

View file

@ -22,7 +22,7 @@ steps:
from_secret: DOCKER_PASSWORD
tags:
- "${DRONE_BUILD_NUMBER}"
- "hugo"
- "stable"
when:
branch:
- main
@ -30,6 +30,25 @@ steps:
exclude:
- pull_request
- name: docker
image: plugins/docker
settings:
repo: docker.data.coop/data-coop-website
registry: docker.data.coop
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
tags:
- "${DRONE_BUILD_NUMBER}"
- "dev"
when:
branch:
- staging
event:
exclude:
- pull_request
- name: notify
image: plugins/matrix
settings: