25 lines
577 B
YAML
25 lines
577 B
YAML
steps:
|
|
- name: Generate config file
|
|
image: bash
|
|
environment:
|
|
CONFIGJSON:
|
|
from_secret: config_json
|
|
commands:
|
|
- ./generate.sh
|
|
- name: build-container
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
repo: git.saintnet.tech/stryan/saintnet_stickers
|
|
registry: git.saintnet.tech
|
|
password:
|
|
from_secret: build_pass
|
|
username:
|
|
from_secret: build_username
|
|
dockerfile: Containerfile
|
|
tags: latest
|
|
configjson:
|
|
from_secret: config_json
|
|
when:
|
|
- branch: 'master'
|
|
event: push
|