ansible-lint/.drone.yml

40 lines
737 B
YAML
Raw Normal View History

2023-02-15 00:57:15 +01:00
kind: pipeline
2024-05-29 21:40:53 +02:00
type: kubernetes
2023-02-15 00:57:15 +01:00
name: deploy
steps:
2023-09-24 04:15:32 +02:00
- name: docker
2023-02-15 00:57:15 +01:00
image: plugins/docker
settings:
2023-12-24 16:10:28 +01:00
registry:
from_secret: REGISTRY_NAME
2023-02-15 00:57:15 +01:00
username:
2023-12-24 16:10:28 +01:00
from_secret: REGISTRY_USER
2023-02-15 00:57:15 +01:00
password:
2023-12-24 16:10:28 +01:00
from_secret: REGISTRY_PASS
2023-12-24 16:28:39 +01:00
repo: git.ar21.de/aaron/ansible-lint
2023-02-15 00:57:15 +01:00
tags:
- latest
2023-09-24 04:15:32 +02:00
- ${DRONE_BUILD_NUMBER}
when:
branch:
- main
- name: docker-build
image: plugins/docker
settings:
2023-12-24 16:10:28 +01:00
registry:
from_secret: REGISTRY_NAME
2023-09-24 04:15:32 +02:00
username:
2023-12-24 16:10:28 +01:00
from_secret: REGISTRY_USER
2023-09-24 04:15:32 +02:00
password:
2023-12-24 16:10:28 +01:00
from_secret: REGISTRY_PASS
2023-12-24 16:28:39 +01:00
repo: git.ar21.de/aaron/ansible-lint
2023-09-24 04:15:32 +02:00
tags: latest
dry_run: true
when:
branch:
exclude:
- main
when:
event:
include:
- push