cuddle-image/scripts/build_cuddle_image.sh

10 lines
203 B
Bash
Raw Normal View History

2022-08-11 23:10:39 +02:00
#!/bin/bash
set -e
2022-08-11 23:22:12 +02:00
tag="$REGISTRY/$SERVICE:${COMMIT_SHA:0:10}"
2022-08-12 00:56:48 +02:00
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
2022-08-11 23:22:12 +02:00
DOCKER_BUILDKIT=1 docker build -t "$tag" -f "$TMP/build_cuddle_image.Dockerfile" .