mabel/.drone.yml

54 lines
1.2 KiB
YAML
Raw Normal View History

2023-07-05 13:14:01 +00:00
---
kind: pipeline
2023-07-05 14:22:53 +00:00
type: docker
2023-07-05 13:14:01 +00:00
name: default
steps:
2023-07-05 14:22:53 +00:00
- name: publish sha
image: banzaicloud/drone-kaniko
2023-07-05 13:14:01 +00:00
settings:
registry: registry.fromouter.space
2023-07-05 13:26:48 +00:00
repo: cenere/mabel
cache: true
2023-07-05 13:14:01 +00:00
username:
from_secret: docker_username
password:
from_secret: docker_password
2023-07-05 14:22:53 +00:00
tags:
- latest
- ${DRONE_COMMIT_SHA}
2023-07-05 13:14:01 +00:00
when:
event:
- push
2023-07-05 14:22:53 +00:00
- name: publish tag
image: banzaicloud/drone-kaniko
settings:
registry: registry.fromouter.space
repo: cenere/mabel
cache: true
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- ${DRONE_COMMIT_BRANCH}
when:
event:
- tag
- name: update dev deployment
image: ghcr.io/hamcha/shipit:main
environment:
SHIPIT_PROVIDER:
from_secret: shipit_provider
2023-07-05 14:24:21 +00:00
SHIPIT_CHANGES: '[{"templater":"yaml","file":"docker-compose.yml","changes":{"services.mabel-dev.image":"registry.fromouter.space/cenere/mabel:${DRONE_COMMIT_SHA}"}}]'
when:
event:
- push
2023-07-05 13:14:01 +00:00
---
kind: signature
2023-07-05 14:24:21 +00:00
hmac: e9b973ceaa63776d94033c08315ef4e4c626518b403e3cc1efb671bada4f0cde
2023-07-05 13:14:01 +00:00
...