This commit is contained in:
parent
7c5600e7fb
commit
1921d1c944
1 changed files with 12 additions and 9 deletions
|
@ -13,15 +13,18 @@ jobs:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Log in to Forgejo Container Registry
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.k4li.de # Your Forgejo instance
|
registry: git.k4li.de
|
||||||
username: ${{ secrets.FORGEJO_USERNAME }} # Your Forgejo username
|
username: ${{ secrets.FORGEJO_USERNAME }}
|
||||||
password: ${{ secrets.FORGEJO_PASSWORD }} # PAT (Personal Access Token)
|
password: ${{ secrets.FORGEJO_PASSWORD }}
|
||||||
|
|
||||||
- name: Run Custom Build Script
|
- name: Set up Docker Buildx
|
||||||
run: ./build.sh
|
uses: docker/setup-buildx-action@v3
|
||||||
# env:
|
|
||||||
# Pass registry URL to script (optional)
|
- name: Build and push
|
||||||
# REGISTRY: git.k4li.de/docker/caddy
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: docker/caddy:latest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue