wip
Some checks failed
Build and Push to Forgejo Registry / build (push) Failing after 1m16s

This commit is contained in:
pika 2025-04-06 23:27:54 +02:00
parent 7c5600e7fb
commit 1921d1c944

View file

@ -13,15 +13,18 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Log in to Forgejo Container Registry
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: git.k4li.de # Your Forgejo instance
username: ${{ secrets.FORGEJO_USERNAME }} # Your Forgejo username
password: ${{ secrets.FORGEJO_PASSWORD }} # PAT (Personal Access Token)
registry: git.k4li.de
username: ${{ secrets.FORGEJO_USERNAME }}
password: ${{ secrets.FORGEJO_PASSWORD }}
- name: Run Custom Build Script
run: ./build.sh
# env:
# Pass registry URL to script (optional)
# REGISTRY: git.k4li.de/docker/caddy
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: docker/caddy:latest