diff --git a/.drone.yml b/.drone.yml index 2e4de0f..c45c0a3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,7 +15,10 @@ steps: - docker buildx create --use --name $BUILDER_ID - docker buildx inspect --bootstrap - docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD registry.chrz.de - - docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --output=type=image,push=true --progress tty -t registry.chrz.de/public/hello-ci . + - docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --output=type=image,push=true --progress tty + --cache-to=type=registry,ref=registry.chrz.de/cache/hello-ci,mode=max + --cache-from=type=registry,ref=registry.chrz.de/cache/hello-ci + -t registry.chrz.de/public/hello-ci . - docker buildx rm $BUILDER_ID volumes: - name: docker_socket