37 lines
982 B
YAML
37 lines
982 B
YAML
---
|
|
# ----------------------------------------------
|
|
# -- Build an image and push it to the registry
|
|
# ----------------------------------------------
|
|
kind: pipeline
|
|
type: docker
|
|
name: Build the builder
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
branch:
|
|
- main
|
|
|
|
steps:
|
|
- name: Build openvpn xor amd64
|
|
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:555262114ea81f6f286010474527f419b56d33a3
|
|
privileged: true
|
|
environment:
|
|
GITEA_TOKEN:
|
|
from_secret: GITEA_TOKEN
|
|
CONTAINERFILE: ./containerfiles/Containerfile-XOR
|
|
CUSTOM_TAG: v2.6.9-XOR-4.0.0beta15
|
|
commands:
|
|
- build-container
|
|
|
|
- name: Build openvpn amd64
|
|
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:555262114ea81f6f286010474527f419b56d33a3
|
|
privileged: true
|
|
environment:
|
|
GITEA_TOKEN:
|
|
from_secret: GITEA_TOKEN
|
|
CONTAINERFILE: ./containerfiles/Containerfile
|
|
CUSTOM_TAG: v2.6.9
|
|
commands:
|
|
- build-container
|