ci: enable buildkit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Glenn Y. Rolland 2024-07-08 22:35:07 +02:00
parent 18ec6839fa
commit 4ef95e32c9

View file

@ -20,6 +20,7 @@ steps:
# path: /stupid
environment:
DOCKER_REPO: glenux/service-wallabag
DOCKER_BUILDKIT: 1
settings:
username:
from_secret: DOCKERHUB_USERNAME
@ -35,12 +36,16 @@ steps:
# volumes:
# - name: cache
# path: /stupid
environment:
DOCKER_BUILDKIT: 1
settings:
username:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_PASSWORD
cache_from: "glenux/service-wallabag:latest_${DRONE_BRANCH/\\//-}"
cache_from:
- "glenux/service-wallabag:latest_${DRONE_BRANCH/\\//-}"
- "glenux/service-wallabag:${DRONE_COMMIT_SHA:0:8}"
repo: glenux/service-wallabag
tags: "latest_${DRONE_BRANCH/\\//-}"
purge: false
@ -52,12 +57,16 @@ steps:
- name: publish:latest
image: plugins/docker
environment:
DOCKER_BUILDKIT: 1
settings:
username:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_PASSWORD
cache_from: "glenux/service-wallabag:latest_${DRONE_BRANCH/\\//-}"
cache_from:
- "glenux/service-wallabag:latest_${DRONE_BRANCH/\\//-}"
- "glenux/service-wallabag:${DRONE_COMMIT_SHA:0:8}"
repo: glenux/service-wallabag
tags: latest
purge: false