Use REGISTRY_USER secret and build for linux/amd64
build / check (push) Successful in 11s
build / image (push) Successful in 1m10s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nmemmertandClaude Sonnet 5.5 committed 2026-10-14 15:32:39 -04:00
1 parent b0480c8e56
commit 6865bbdb72
1 file changed
+2 -2
+2 -2
View File
@@ -32,9 +32,9 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Log in to the Gitea container registry - name: Log in to the Gitea container registry
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login "$REGISTRY" -u "${{ gitea.actor }}" --password-stdin run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login "$REGISTRY" -u "${{ secrets.REGISTRY_USER }}" --password-stdin
- name: Build - name: Build
run: docker build -t "$IMAGE:${{ gitea.sha }}" -t "$IMAGE:latest" . run: docker build --platform linux/amd64 -t "$IMAGE:${{ gitea.sha }}" -t "$IMAGE:latest" .
- name: Smoke test (server refuses to start without accounts, but must import and print usage) - name: Smoke test (server refuses to start without accounts, but must import and print usage)
run: docker run --rm "$IMAGE:latest" python server.py users run: docker run --rm "$IMAGE:latest" python server.py users
- name: Push - name: Push