fix(ci): add --insecure to crane auth login
Some checks failed
CI/CD Pipeline / Code Quality Checks (push) Successful in 1m54s
CI/CD Pipeline / Run Tests (push) Successful in 2m6s
CI/CD Pipeline / Build Docker Images (push) Successful in 5s
CI/CD Pipeline / Push to Gitea Registry (push) Failing after 6s

This commit is contained in:
2026-02-02 13:57:53 +01:00
parent 7b5982375c
commit 97111afbd1

View File

@@ -137,7 +137,7 @@ jobs:
docker save mostovik-web:local -o /tmp/web.tar
# Push with crane (supports insecure HTTP)
./crane auth login 10.10.0.10:3000 -u ${{ gitea.actor }} -p ${{ gitea.token }}
./crane auth login --insecure 10.10.0.10:3000 -u ${{ gitea.actor }} -p ${{ gitea.token }}
./crane push --insecure /tmp/web.tar ${REGISTRY}/mostovik-web:${BRANCH_TAG}
./crane push --insecure /tmp/web.tar ${REGISTRY}/mostovik-web:${BRANCH_TAG}-${SHA_SHORT}