Update pipeline
This commit is contained in:
parent
1c95cd03f3
commit
4a9e6e5077
11
.drone.yml
11
.drone.yml
@ -1,28 +1,25 @@
|
|||||||
---
|
|
||||||
# ----------------------------------------------
|
# ----------------------------------------------
|
||||||
# -- Build an image and push it to the registry
|
# -- Build an image and push it to the registry
|
||||||
# ----------------------------------------------
|
# ----------------------------------------------
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: Build the builder
|
name: Build the builder
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
environment:
|
||||||
|
BUILDER_VERSION: 555262114ea81f6f286010474527f419b56d33a3
|
||||||
steps:
|
steps:
|
||||||
- name: Build and push the docker image
|
- name: Build and push the docker image
|
||||||
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:f1775ea02b0c985e27449fbabeb810cd07e27f53
|
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:${BUILDER_VERSION}
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
from_secret: GITEA_TOKEN
|
from_secret: GITEA_TOKEN
|
||||||
commands:
|
commands:
|
||||||
- build-container
|
- build-container
|
||||||
|
|
||||||
- name: Cleanup registry
|
- name: Cleanup registry
|
||||||
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:f1775ea02b0c985e27449fbabeb810cd07e27f53
|
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:${BUILDER_VERSION}
|
||||||
environment:
|
environment:
|
||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
from_secret: GITEA_TOKEN
|
from_secret: GITEA_TOKEN
|
||||||
|
Loading…
Reference in New Issue
Block a user