checking if docker is even found
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
33aa3718fd
commit
9e6ea6dcf6
@ -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
|
||||||
|
@ -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" .
|
||||||
|
Loading…
Reference in New Issue
Block a user