fix(ci): add --insecure to crane auth login
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user