Skip to content

Commit

Permalink
feat(chore): push images to dockerhub
Browse files Browse the repository at this point in the history
push images to dockerhub

ARC-108
  • Loading branch information
sadarunnisa-sf committed Apr 10, 2024
1 parent f3412e0 commit f8d05eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/docker-build-tag-and-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ IMAGE_NAME="$DOCKER_USERNAME/backstage"
echo "Docker Registry: $DOCKER_REGISTRY"

printf "\nLogging in to Docker Hub...\n"
docker login --username "$DOCKER_USERNAME" --password-stdin "$DOCKER_PASSWORD"
echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
docker login --username "$DOCKER_USERNAME" --password-stdin "$DOCKER_PASSWORD"


printf "\nBuilding docker images...\n"
docker-compose -f $DOCKER_COMPOSE_FILE build
Expand Down

0 comments on commit f8d05eb

Please sign in to comment.