Merge pull request 'Update CI' (#8) from dev into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

Reviewed-on: #8
This commit is contained in:
Jannis Portmann 2023-07-08 18:06:44 +02:00
commit ed8194e27d

View file

@ -1,6 +1,6 @@
kind: pipeline
type: docker
name: build
name: build-latest
steps:
- name: build-image
@ -8,8 +8,37 @@ steps:
settings:
repo: git.thisfro.ch/pflaenz.li/pflaenzli
dockerfile: Dockerfile
tags:
- latest
- ${DRONE_BUILD_NUMBER}
registry: git.thisfro.ch/pflaenz.li/pflaenzli
username:
from_secret: docker_username
password:
from_secret: docker_password
from_secret: docker_password
---
kind: pipeline
type: docker
name: build-stable
steps:
- name: build-image
image: plugins/docker
settings:
repo: git.thisfro.ch/pflaenz.li/pflaenzli
dockerfile: Dockerfile
tags:
- stable
registry: git.thisfro.ch/pflaenz.li/pflaenzli
username:
from_secret: docker_username
password:
from_secret: docker_password
trigger:
event:
- promote
target:
- production