mirror of
https://git.sr.ht/~ashkeel/sourcehut-mirror-bridge
synced 2024-11-23 21:32:20 +00:00
43 lines
892 B
YAML
43 lines
892 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: publish sha
|
|
image: banzaicloud/drone-kaniko
|
|
settings:
|
|
registry: registry.fromouter.space
|
|
repo: uchumoe/sourcehut-mirror-bridge
|
|
cache: true
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
tags:
|
|
- latest
|
|
- ${DRONE_COMMIT_SHA}
|
|
when:
|
|
event:
|
|
- push
|
|
|
|
- name: publish tag
|
|
image: banzaicloud/drone-kaniko
|
|
settings:
|
|
registry: registry.fromouter.space
|
|
repo: uchumoe/sourcehut-mirror-bridge
|
|
cache: true
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
tags:
|
|
- ${DRONE_COMMIT_BRANCH}
|
|
when:
|
|
event:
|
|
- tag
|
|
---
|
|
kind: signature
|
|
hmac: 925643c1816fd7df3823079bc98a79836e34e4641b8328ae0bc3eae37923ff84
|
|
|
|
...
|