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
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue