cuddle-image/scripts/build_cuddle_image.sh
2022-08-12 00:56:48 +02:00

10 lines
203 B
Bash
Executable File

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