CI: fix registry login and runner for issue #3

This commit is contained in:
2026-07-06 09:54:53 +00:00
parent 99a54454e4
commit 236ad5dbcb
+4 -4
View File
@@ -1,5 +1,5 @@
name: build-and-push name: build-and-push
run-name: "build-and-push · ${gitea.ref_name}" run-name: "build-and-push · ${{ gitea.ref_name }}"
# Builds the homepage image and pushes it to this Gitea instance's container # Builds the homepage image and pushes it to this Gitea instance's container
# registry as git.ffaerber.duckdns.org/ffaerber/homepage:latest on every push to main. # registry as git.ffaerber.duckdns.org/ffaerber/homepage:latest on every push to main.
on: on:
@@ -16,7 +16,7 @@ env:
jobs: jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ci-runner
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -28,8 +28,8 @@ jobs:
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: git.ffaerber.duckdns.org registry: git.ffaerber.duckdns.org
username: ${{ gitea.actor }} username: ffaerber
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6