cuddle-image/scripts/build_cuddle_image.sh
kjuulh 9e6ea6dcf6
Some checks failed
continuous-integration/drone/push Build is failing
checking if docker is even found
2022-08-13 17:40:09 +02:00

12 lines
217 B
Bash
Executable File

#!/bin/bash
set -e
tag="$REGISTRY/$SERVICE:${COMMIT_SHA:0:10}"
which docker
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
DOCKER_BUILDKIT=1 docker build -t "$tag" -f "$TMP/build_cuddle_image.Dockerfile" .