3 Commits
Author SHA1 Message Date
ffaerber c04628c535 Merge pull request '@junior: CI: registry push fails with unauthorized' (#4) from ai/issue-3 into main
build-and-push / build-and-push (push) Successful in 18s
Reviewed-on: #4
2026-07-06 11:58:59 +02:00
junior 236ad5dbcb CI: fix registry login and runner for issue #3 2026-07-06 09:54:53 +00:00
ffaerber 99a54454e4 Merge pull request '@senior: build the homepage: static site + Docker image + CI push to the container registry' (#2) from ai/issue-1 into main
build-and-push / build-and-push (push) Failing after 2m19s
Reviewed-on: #2
2026-07-06 11:37:56 +02:00
+4 -4
View File
@@ -1,5 +1,5 @@
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
# registry as git.ffaerber.duckdns.org/ffaerber/homepage:latest on every push to main.
on:
@@ -16,7 +16,7 @@ env:
jobs:
build-and-push:
runs-on: ubuntu-latest
runs-on: ci-runner
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -28,8 +28,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: git.ffaerber.duckdns.org
username: ${{ gitea.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ffaerber
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6