ci: build image before GitOps deployment
Build and deploy / build-deploy (push) Has been cancelled

This commit is contained in:
2026-10-17 19:48:02 +00:00
parent 2c5547b769
commit 82ea6ab868
3 changed files with 127 additions and 4 deletions
+20
View File
@@ -0,0 +1,20 @@
name: Build and deploy
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build-deploy:
runs-on: arena-builder
steps:
- name: Check out source
uses: actions/checkout@v4
- name: Build image on OptiPlex
env:
PORTAINER_URL: ${{ secrets.PORTAINER_URL }}
PORTAINER_API_KEY: ${{ secrets.PORTAINER_API_KEY }}
run: |
python3 .gitea/scripts/build_and_deploy.py