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
|
||||
build_args_from_env:
|
||||
- UBUNTU_VER
|
||||
extra_tags:
|
||||
- ${DRONE_REPO_LINK:8}:${UBUNTU_VER}
|
||||
platforms:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
- linux/arm/v7
|
||||
cache_from:
|
||||
- type=local\\,src=/cache/${DRONE_REPO}
|
||||
- type=local\\,src=/cache/${DRONE_REPO}/ubuntu-${UBUNTU_VER}
|
||||
cache_to:
|
||||
- type=local,dest=/cache/${DRONE_REPO},mode=max
|
||||
- type=local,dest=/cache/${DRONE_REPO}/ubuntu-${UBUNTU_VER},mode=max
|
||||
depends_on:
|
||||
- create_tags
|
||||
|
||||
|
||||
Reference in New Issue
Block a user