Introduce caching
This commit is contained in:
parent
9f73d26809
commit
3239c4c037
@ -9,6 +9,8 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker-build-and-push
|
- name: docker-build-and-push
|
||||||
|
cache_from:
|
||||||
|
- "gitea.scubbo.org/${DRONE_REPO}:${DRONE_BRANCH}"
|
||||||
image: thegeeklab/drone-docker-buildx # Absurd that this isn't offered as first-party!
|
image: thegeeklab/drone-docker-buildx # Absurd that this isn't offered as first-party!
|
||||||
privileged: true
|
privileged: true
|
||||||
settings:
|
settings:
|
||||||
@ -18,6 +20,7 @@ steps:
|
|||||||
from_secret: gitea_password
|
from_secret: gitea_password
|
||||||
repo: gitea.scubbo.org/${DRONE_REPO}
|
repo: gitea.scubbo.org/${DRONE_REPO}
|
||||||
tags:
|
tags:
|
||||||
|
- ${DRONE_BRANCH}
|
||||||
- ${DRONE_COMMIT_SHA:0:10}
|
- ${DRONE_COMMIT_SHA:0:10}
|
||||||
target: prod
|
target: prod
|
||||||
platforms:
|
platforms:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user