fix login 1
All checks were successful
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Has been skipped
checks / Set up Java for Backend Tests and Build (push) Has been skipped
Gitea Actions Demo / Explore Gitea Actions - 2 (pull_request) Has been skipped
Gitea Actions Demo 2 / Builder (pull_request) Successful in 1m46s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Has been skipped
checks / Set up Java for Backend Tests and Build (pull_request) Has been skipped
All checks were successful
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Has been skipped
checks / Set up Java for Backend Tests and Build (push) Has been skipped
Gitea Actions Demo / Explore Gitea Actions - 2 (pull_request) Has been skipped
Gitea Actions Demo 2 / Builder (pull_request) Successful in 1m46s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Has been skipped
checks / Set up Java for Backend Tests and Build (pull_request) Has been skipped
This commit is contained in:
@ -95,12 +95,11 @@ jobs:
|
|||||||
echo "GITEA_REGISTRY_URL: $GITEA_REGISTRY_URL"
|
echo "GITEA_REGISTRY_URL: $GITEA_REGISTRY_URL"
|
||||||
echo "LOGIN_TOKEN: $LOGIN_TOKEN"
|
echo "LOGIN_TOKEN: $LOGIN_TOKEN"
|
||||||
echo "LOGIN_TOKEN_1: $LOGIN_TOKEN_1"
|
echo "LOGIN_TOKEN_1: $LOGIN_TOKEN_1"
|
||||||
echo "LOGIN_TOKEN_2: $LOGIN_TOKEN_2"
|
echo "REGISTRY_URL: $GITEA_REGISTRY_URL"
|
||||||
echo "REGISTRY_URL: $REGISTRY_URL"
|
|
||||||
#docker login $GITEA_REGISTRY_URL -u $GITEA_USERNAME -p $LOGIN_TOKEN
|
#docker login $GITEA_REGISTRY_URL -u $GITEA_USERNAME -p $LOGIN_TOKEN
|
||||||
# Login securely
|
# Login securely
|
||||||
#echo "$LOGIN_TOKEN" | docker login $GITEA_REGISTRY_URL --username $GITEA_USERNAME --password-stdin
|
echo "$LOGIN_TOKEN" | docker login $GITEA_REGISTRY_URL --username $GITEA_USERNAME --password-stdin
|
||||||
echo "$LOGIN_TOKEN" | docker login ghcr.io -u $GITEA_USERNAME --password-stdin
|
#echo "$LOGIN_TOKEN" | docker login ghcr.io -u $GITEA_USERNAME --password-stdin
|
||||||
docker push $GITEA_REGISTRY_URL/$GITEA_USERNAME/my-app:latest
|
docker push $GITEA_REGISTRY_URL/$GITEA_USERNAME/my-app:latest
|
||||||
pwd
|
pwd
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user