ansible-collection/.drone.yml

23 lines
401 B
YAML
Raw Permalink Normal View History

2023-03-27 21:01:47 +00:00
---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm64
steps:
- name: build
image: plugins/ansible:3
commands:
- ansible-galaxy collection build
2023-04-12 08:36:30 +00:00
- ansible-galaxy collection publish --token $${GALAXY_TOKEN} happydns-happydomain-${DRONE_TAG##v}.tar.gz
2023-03-27 21:01:47 +00:00
environment:
GALAXY_TOKEN:
from_secret: galaxy-token
trigger:
event:
- tag