Piped password into docker login command
All checks were successful
Build a new image for the MycroForge docs / test (push) Successful in 1m50s

This commit is contained in:
mdnapo 2024-10-13 14:36:32 +02:00
parent abbb0fde41
commit cbf465f444

View File

@ -16,7 +16,7 @@ jobs:
LATEST_IMAGE_TAG="$IMAGE_NAME:latest"
# Login to the registry
docker login git.devdisciples.com --username ${{ secrets.DOCKER_USER }} --password-stdin ${{ secrets.DOCKER_PASS }}
echo ${{ secrets.DOCKER_PASS }} | docker login git.devdisciples.com --username ${{ secrets.DOCKER_USER }} --password-stdin
# Check if the image exists.
# EXISTS = 0 if the image was found else 1.