login
Some checks failed
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) Failing after 1m37s
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:
Patrick
2025-11-04 13:08:04 +01:00
parent c125edb16e
commit 347f920297

View File

@ -92,7 +92,9 @@ jobs:
#REGISTRY_URL: ${{ secrets.REGISTRY_URL }}
run: |
echo "GITEA_REGISTRY_URL: $GITEA_REGISTRY_URL"
docker login $GITEA_REGISTRY_URL -u $GITEA_USERNAME -p $GITEA_TOKEN
#docker login $GITEA_REGISTRY_URL -u $GITEA_USERNAME -p $GITEA_TOKEN
# Login securely
echo "$GITEA_TOKEN" | docker login "$GITEA_REGISTRY_URL" -u "$GITEA_USERNAME" --password-stdin
docker push $GITEA_REGISTRY_URL/$GITEA_USERNAME/my-app:latest
#docker push $GITEA_REGISTRY_URL/$GITEA_USERNAME/$IMAGE_NAME
pwd