feat: use portainer hook instead of pushing image to gitea package repository
All checks were successful
Deploy / deploy (push) Successful in 2s
Deploy / build (push) Successful in 1m56s

This commit is contained in:
2026-05-30 22:58:15 +02:00
parent 4a0bd62432
commit 5d68cb993a
3 changed files with 29 additions and 30 deletions

View File

@@ -0,0 +1,28 @@
name: Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker image
run: docker build .
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Trigger Portainer webhook
run: curl -X POST "${{ secrets.PORTAINER_WEBHOOK_URL }}"