Update .gitea/workflows/dockerbuild.yml
Some checks failed
Build and Publish TVJ EPG Image / build (push) Failing after 0s

This commit is contained in:
2026-02-02 14:11:03 -05:00
parent cef6c06da4
commit 0a9251b093

View File

@@ -26,7 +26,7 @@ jobs:
if [ -n "${GITEA_TOKEN:-}" ]; then if [ -n "${GITEA_TOKEN:-}" ]; then
CLONE_URL="${BASE}/${REPO}.git" CLONE_URL="${BASE}/${REPO}.git"
CLONE_URL="$(echo "$CLONE_URL" | sed -E 's#^https://#https://oauth2:'"${GITEA_TOKEN}"'@#')" #CLONE_URL="$(echo "$CLONE_URL" | sed -E 's#^https://#https://oauth2:'"${GITEA_TOKEN}"'@#')"
git clone "$CLONE_URL" . git clone "$CLONE_URL" .
else else
git clone "${BASE}/${REPO}.git" . git clone "${BASE}/${REPO}.git" .
@@ -48,14 +48,13 @@ jobs:
# ------------------------------------------------- # -------------------------------------------------
- name: Docker login - name: Docker login
env: env:
REGISTRY: ${{ vars.REGISTRY }} # e.g. loxthelion.com:5050 or ghcr.io REGISTRY: loxthelion.com/gitea # e.g. loxthelion.com:5050 or ghcr.io
REGISTRY_USER: ${{ secrets.REGISTRY_USER }} REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_TOKEN: ${{ secrets.TEA_TOKEN }} REGISTRY_TOKEN: ${{ secrets.TEA_TOKEN }}
run: | run: |
echo "$REGISTRY_TOKEN" | docker login "$REGISTRY" \ echo "$REGISTRY_TOKEN" | docker login "$REGISTRY" \
-u "$REGISTRY_USER" \ -u "$REGISTRY_USER" \
--password-stdin --password-stdin
--tls-verify=false
# ------------------------------------------------- # -------------------------------------------------
# Build image with Docker (multi-tag) # Build image with Docker (multi-tag)