checking if docker is even found
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Kasper Juul Hermansen 2022-08-13 17:40:09 +02:00
parent 33aa3718fd
commit 9e6ea6dcf6
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
2 changed files with 2 additions and 4 deletions

View File

@ -63,10 +63,6 @@ steps:
commands: commands:
- sleep 5 - sleep 5
- ls -la - ls -la
- apk add git
- git init
- git add .
- git commit -m "mandatory commit"
- CUDDLE_FETCH_POLICY=always cuddle_cli x build_cuddle_image - CUDDLE_FETCH_POLICY=always cuddle_cli x build_cuddle_image
environment: environment:
DOCKER_BUILDKIT: 1 DOCKER_BUILDKIT: 1

View File

@ -4,6 +4,8 @@ set -e
tag="$REGISTRY/$SERVICE:${COMMIT_SHA:0:10}" tag="$REGISTRY/$SERVICE:${COMMIT_SHA:0:10}"
which docker
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
DOCKER_BUILDKIT=1 docker build -t "$tag" -f "$TMP/build_cuddle_image.Dockerfile" . DOCKER_BUILDKIT=1 docker build -t "$tag" -f "$TMP/build_cuddle_image.Dockerfile" .