Skip to content

Commit

Permalink
Login to docker in non-interactive way on ec2
Browse files Browse the repository at this point in the history
  • Loading branch information
yash22arora committed May 16, 2024
1 parent 12fdfd5 commit 63657b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
set -e
# Pull the latest Docker image
docker login -u $DOCKER_USERNAME -p ${{ secrets.DOCKER_PASSWORD }}
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u $DOCKER_USERNAME --password-stdin
docker pull $DOCKER_USERNAME/$DOCKER_IMAGE_NAME:latest
# Navigate to your project directory
Expand Down

0 comments on commit 63657b1

Please sign in to comment.