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