diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e959d8d..ec24a58 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -149,10 +149,12 @@ jobs: docker buildx inspect --bootstrap - name: Login to Gitea Registry + if: ${{ secrets.REGISTRY_USER != '' && secrets.REGISTRY_TOKEN != '' }} run: | echo "${{ secrets.REGISTRY_TOKEN }}" | docker login git.uuxo.net -u "${{ secrets.REGISTRY_USER }}" --password-stdin - name: Build and push + if: ${{ secrets.REGISTRY_USER != '' && secrets.REGISTRY_TOKEN != '' }} run: | # Determine tags if [[ "${GITHUB_REF}" == refs/tags/* ]]; then