Simplified the config file.
Some checks failed
continuous-integration/drone/push Build encountered an error
Some checks failed
continuous-integration/drone/push Build encountered an error
This commit is contained in:
18
.drone.yml
18
.drone.yml
@@ -8,8 +8,10 @@ steps:
|
||||
commands:
|
||||
- echo "$(date "+%Y-%m-%d"), latest" > .tags
|
||||
|
||||
- name: ubuntu_22
|
||||
image: thegeeklab/drone-docker-buildx:23
|
||||
- name: &name ubuntu_22
|
||||
image: &image thegeeklab/drone-docker-buildx:23
|
||||
depends_on: &depends
|
||||
- create_tags
|
||||
environment:
|
||||
UBUNTU_VER: 22.04
|
||||
settings: &settings
|
||||
@@ -31,11 +33,10 @@ steps:
|
||||
- type=local\\,src=/cache/${DRONE_REPO}/ubuntu-22.04
|
||||
cache_to:
|
||||
- type=local,dest=/cache/${DRONE_REPO}/ubuntu-22.04,mode=max
|
||||
depends_on:
|
||||
- create_tags
|
||||
|
||||
- name: ubuntu_20
|
||||
image: thegeeklab/drone-docker-buildx:23
|
||||
- name: *name
|
||||
image: *image
|
||||
depends_on: *depends
|
||||
environment:
|
||||
UBUNTU_VER: 20.04
|
||||
settings:
|
||||
@@ -48,8 +49,9 @@ steps:
|
||||
cache_to:
|
||||
- type=local,dest=/cache/${DRONE_REPO}/ubuntu-20.04,mode=max
|
||||
|
||||
- name: ubuntu_18
|
||||
image: thegeeklab/drone-docker-buildx:23
|
||||
- name: *name
|
||||
image: *image
|
||||
depends_on: *depends
|
||||
environment:
|
||||
UBUNTU_VER: 18.04
|
||||
settings:
|
||||
|
||||
Reference in New Issue
Block a user