This commit is contained in:
@@ -15,7 +15,10 @@ TOKEN=$(curl -s -X POST "https://hub.docker.com/v2/auth/token" \
|
||||
-d "{\"identifier\": \"${docker_username}\", \"secret\": \"${DOCKERHUB_PASSWORD}\"}" \
|
||||
| jq -r .access_token)
|
||||
|
||||
echo
|
||||
echo $TOKEN
|
||||
echo ${gitea_username}
|
||||
echo ${repo_name}
|
||||
|
||||
curl -X 'PUT' \
|
||||
"https://gitea.happylizard.me/api/v1/repos/${gitea_username}/${repo_name}/actions/secrets/DOCKERHUB_TOKEN" \
|
||||
|
||||
Reference in New Issue
Block a user