Validate registry publish secret
Some checks failed
Build / test (push) Successful in 12s
Build / container (push) Failing after 16s

This commit is contained in:
MrSphay
2026-05-14 17:50:31 +02:00
parent ae098261ef
commit bc388bbffc

View File

@@ -39,6 +39,15 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Validate registry token secret
env:
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
run: |
if [ -z "$REGISTRY_TOKEN" ]; then
echo "::error::Set the repository Actions secret REGISTRY_TOKEN to a Gitea token with package write access."
exit 1
fi
- name: Login to Gitea registry
uses: docker/login-action@v3
with: