pflaenz.li/.drone.yml
Jannis Portmann f8b4c754a2
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
Update names
2023-07-08 18:05:27 +02:00

44 lines
No EOL
805 B
YAML

kind: pipeline
type: docker
name: build-latest
steps:
- name: build-image
image: plugins/docker
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
---
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