Updated how cache is handled. Added a new tag.
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:
@@ -21,14 +21,16 @@ steps:
|
|||||||
repo: ${DRONE_REPO_LINK:8}/ubuntu-22.04
|
repo: ${DRONE_REPO_LINK:8}/ubuntu-22.04
|
||||||
build_args_from_env:
|
build_args_from_env:
|
||||||
- UBUNTU_VER
|
- UBUNTU_VER
|
||||||
|
extra_tags:
|
||||||
|
- ${DRONE_REPO_LINK:8}:${UBUNTU_VER}
|
||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
- linux/arm/v7
|
- linux/arm/v7
|
||||||
cache_from:
|
cache_from:
|
||||||
- type=local\\,src=/cache/${DRONE_REPO}
|
- type=local\\,src=/cache/${DRONE_REPO}/ubuntu-${UBUNTU_VER}
|
||||||
cache_to:
|
cache_to:
|
||||||
- type=local,dest=/cache/${DRONE_REPO},mode=max
|
- type=local,dest=/cache/${DRONE_REPO}/ubuntu-${UBUNTU_VER},mode=max
|
||||||
depends_on:
|
depends_on:
|
||||||
- create_tags
|
- create_tags
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user