28 lines
833 B
YAML
Raw Permalink Normal View History

2025-01-20 20:58:32 -05:00
name: build
on:
push:
branches: ["master"]
jobs:
# Build job
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to registry
uses: docker/login-action@v3
with:
registry: git.saintnet.tech
username: ${{ gitea.actor }}
password: ${{ secrets.REGISTRY_TOKEN }}
2025-01-20 21:11:00 -05:00
- name: Generate config
env:
CONFIGJSON: ${{ secrets.CONFIG }}
run: "./generate.sh"
2025-01-20 20:58:32 -05:00
- name: Build and push
env:
IMAGE_NAME: saintnet_stickers
REGISTRY: git.saintnet.tech
REPO_OWNER: stryan
run: "docker build -o type=docker -t ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:latest -f Containerfile .\ndocker push ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:latest \n"