From 4313f2e7d7ccc47f92145a5fce5d8f9fea0e55ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Tr=C3=B6ger?= Date: Fri, 29 Aug 2025 09:58:05 +0200 Subject: [PATCH] Update deploy.yaml --- .gitea/workflows/deploy.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 24b38b5..4ae8e75 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -22,11 +22,16 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: "check is REGISTRY_TOKEN exists" + env: + super_secret: ${{ secrets.REGISTRY_TOKEN }} + if: ${{ env.super_secret == '' }} + run: 'echo "echo the secret \"REGISTRY_TOKEN\" has not been made; echo please go to \"settings \> secrets \> actions\" to create it" - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: registry: git.letsstein.de - username: ${{ gitea.actor }} + username: jenkins password: ${{ secrets.REGISTRY_TOKEN }} - name: Extract metadata (tags, labels) for Docker