hugo-container/.drone.yml

31 lines
767 B
YAML
Raw Normal View History

2023-05-30 07:29:15 +00:00
---
# ----------------------------------------------
# -- Build an image and push it to the registry
# ----------------------------------------------
kind: pipeline
type: docker
name: Build the builder
trigger:
event:
- push
steps:
- name: Build and push the docker image
2023-07-16 19:15:21 +00:00
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:f1775ea02b0c985e27449fbabeb810cd07e27f53
2023-05-30 07:29:15 +00:00
privileged: true
environment:
GITEA_TOKEN:
from_secret: GITEA_TOKEN
commands:
- build-container
- name: Cleanup registry
2023-07-16 19:15:21 +00:00
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:f1775ea02b0c985e27449fbabeb810cd07e27f53
2023-05-30 07:29:15 +00:00
environment:
GITEA_TOKEN:
from_secret: GITEA_TOKEN
commands:
- cleanup