Compare commits

...

3 commits

Author SHA1 Message Date
Sam A. fe0131dd9b
Merge branch 'main' into staging
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-26 17:09:48 +02:00
Sam A. 3c692301e1
Fix .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-26 16:58:26 +02:00
Sam A. d71d58f9c6
Build Docker image with correct tags
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-07-26 16:57:00 +02:00

View file

@ -11,7 +11,8 @@ steps:
- dpkg -i hugo.deb - dpkg -i hugo.deb
- hugo --destination _site/ - hugo --destination _site/
- name: docker # stable site
- name: docker_stable
image: plugins/docker image: plugins/docker
settings: settings:
repo: docker.data.coop/data-coop-website repo: docker.data.coop/data-coop-website
@ -30,7 +31,8 @@ steps:
exclude: exclude:
- pull_request - pull_request
- name: docker # staging site
- name: docker_staging
image: plugins/docker image: plugins/docker
settings: settings:
repo: docker.data.coop/data-coop-website repo: docker.data.coop/data-coop-website
@ -41,7 +43,7 @@ steps:
from_secret: DOCKER_PASSWORD from_secret: DOCKER_PASSWORD
tags: tags:
- "${DRONE_BUILD_NUMBER}" - "${DRONE_BUILD_NUMBER}"
- "dev" - "staging"
when: when:
branch: branch:
- staging - staging