now on the speedy machine?
All checks were successful
Build and Push to Forgejo Registry / checkout (push) Successful in 1m47s

This commit is contained in:
pika 2025-04-12 13:00:24 +02:00
parent ddb987be87
commit ff50d5ffe4

View file

@ -0,0 +1,26 @@
name: Build and Push to Forgejo Registry
on:
push:
branches: [main]
paths:
- '**/Dockerfile'
- '**/build-and-push.yml'
jobs:
checkout:
runs-on: self-hosted
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Login to Forgejo Container Registry
uses: docker/login-action@v3
with:
registry: ${{ vars.FORGEJO_URL }}
username: ${{ vars.FORGEJO_USERNAME }}
password: ${{ secrets.FORGEJO_PACKAGE_TOKEN }}
- name: Build n Push
run: |
docker build -t git.k4li.de/docker/caddydb:latest .
docker push git.k4li.de/docker/caddydb:latest