runtime/.drone.yml
Adam Štrauch 0c179a1b23
Some checks failed
continuous-integration/drone/push Build is failing
Fix pipelines
2021-11-19 18:11:17 +01:00

42 lines
839 B
YAML

kind: pipeline
type: docker
name: image building
steps:
- name: build&push squashed image
image: harbor.hq.rosti.cz/library/builder:35
environment:
username: robot$rosti+rosti
password:
from_secret: repo_password
repo: harbor.hq.rosti.cz
privileged: true
commands:
- echo "$password" | podman login -u $username --password-stdin $repo
- DOCKER=podman make push
trigger:
event:
- promote
target:
- production
---
kind: pipeline
type: docker
name: test image building
steps:
- name: test build
image: harbor.hq.rosti.cz/library/builder:35
environment:
username: robot$rosti+rosti
password:
from_secret: repo_password
repo: harbor.hq.rosti.cz
privileged: true
commands:
- echo "$password" | podman login -u $username --password-stdin $repo
- DOCKER=podman make build