updates?
All checks were successful
build / deploy (push) Successful in 2m19s

This commit is contained in:
stryan 2025-01-20 21:11:00 -05:00
parent 5446cef8aa
commit 5e864a3e70
4 changed files with 11 additions and 26 deletions

View File

@ -1,19 +0,0 @@
kind: pipeline
name: default
steps:
- name: build-container
image: plugins/docker
environment:
CONFIG_JSON:
from_secret: config_json
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
secrets_from_env:
- pack_config=CONFIG_JSON

View File

@ -15,6 +15,10 @@ jobs:
registry: git.saintnet.tech
username: ${{ gitea.actor }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Generate config
env:
CONFIGJSON: ${{ secrets.CONFIG }}
run: "./generate.sh"
- name: Build and push
env:
IMAGE_NAME: saintnet_stickers

View File

@ -1,6 +1,6 @@
#!/bin/bash
if [ ! -f config.json ]; then
echo "no config found during sitcker generation"
echo "no config found during sticker generation"
exit 1
fi
for d in packs/*/; do