2021-09-10 14:20:43 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: FullBuild
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Lint Dockerfile
|
|
|
|
image: hadolint/hadolint:latest-alpine
|
|
|
|
pull: if-not-exists
|
|
|
|
commands:
|
|
|
|
- hadolint --version
|
|
|
|
- hadolint base-fullbuild/Dockerfile*
|
|
|
|
|
|
|
|
- name: FullBuild
|
|
|
|
image: thegeeklab/drone-docker-buildx
|
|
|
|
privileged: true
|
|
|
|
settings:
|
|
|
|
repo: modem7/borgmatic-docker
|
|
|
|
purge: true
|
|
|
|
compress: true
|
|
|
|
use_cache: true
|
2022-06-04 00:46:25 +00:00
|
|
|
build_args: BUILDKIT_INLINE_CACHE=1
|
2021-09-10 14:20:43 +00:00
|
|
|
cache_from: "modem7/borgmatic-docker:latest"
|
|
|
|
Dockerfile: base-fullbuild/Dockerfile
|
|
|
|
context: base-fullbuild/
|
|
|
|
platforms: # if it doesn't work run docker run --privileged --rm tonistiigi/binfmt --install all
|
|
|
|
- linux/amd64
|
2022-01-08 04:21:55 +00:00
|
|
|
- linux/arm64
|
2021-09-10 14:20:43 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
tags:
|
|
|
|
- latest
|
2022-07-01 20:55:03 +00:00
|
|
|
- 1.6.5-1.2.1
|
2021-09-10 14:20:43 +00:00
|
|
|
|
|
|
|
- name: slack
|
|
|
|
image: themaz/drone-slack
|
|
|
|
settings:
|
|
|
|
webhook:
|
|
|
|
from_secret: slack_hook
|
|
|
|
when:
|
|
|
|
status: [ success, failure ]
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
2021-10-11 18:45:17 +00:00
|
|
|
- custom
|
2021-09-10 14:20:43 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2022-05-27 02:51:53 +00:00
|
|
|
name: Dockercli
|
2021-09-10 14:20:43 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Docker-CLI
|
|
|
|
image: thegeeklab/drone-docker-buildx
|
|
|
|
privileged: true
|
|
|
|
settings:
|
|
|
|
repo: modem7/borgmatic-docker
|
|
|
|
purge: true
|
|
|
|
compress: true
|
|
|
|
use_cache: true
|
2022-06-04 00:46:25 +00:00
|
|
|
build_args: BUILDKIT_INLINE_CACHE=1
|
2021-09-10 14:20:43 +00:00
|
|
|
cache_from: "modem7/borgmatic-docker:dockercli"
|
|
|
|
Dockerfile: base-dockercli/Dockerfile
|
|
|
|
context: base-dockercli/
|
|
|
|
platforms: # if it doesn't work run docker run --privileged --rm tonistiigi/binfmt --install all
|
|
|
|
- linux/amd64
|
2022-01-08 04:21:55 +00:00
|
|
|
- linux/arm64
|
2021-09-10 14:20:43 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
tags:
|
|
|
|
- dockercli
|
|
|
|
|
2022-05-31 15:05:52 +00:00
|
|
|
- name: slack
|
|
|
|
image: themaz/drone-slack
|
|
|
|
settings:
|
|
|
|
webhook:
|
|
|
|
from_secret: slack_hook
|
|
|
|
when:
|
|
|
|
status: [ success, failure ]
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- custom
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- FullBuild
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: LiveInstall
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
2021-09-10 14:20:43 +00:00
|
|
|
- name: LiveInstall
|
|
|
|
image: thegeeklab/drone-docker-buildx
|
|
|
|
privileged: true
|
|
|
|
settings:
|
|
|
|
repo: modem7/borgmatic-docker
|
|
|
|
purge: true
|
|
|
|
compress: true
|
|
|
|
use_cache: true
|
2022-06-04 00:46:25 +00:00
|
|
|
build_args: BUILDKIT_INLINE_CACHE=1
|
2021-09-10 14:20:43 +00:00
|
|
|
cache_from: "modem7/borgmatic-docker:liveinstall"
|
|
|
|
Dockerfile: base-liveinstall/Dockerfile
|
|
|
|
context: base-liveinstall/
|
|
|
|
platforms: # if it doesn't work run docker run --privileged --rm tonistiigi/binfmt --install all
|
|
|
|
- linux/amd64
|
2022-01-08 04:21:55 +00:00
|
|
|
- linux/arm64
|
2021-09-10 14:20:43 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
tags:
|
|
|
|
- liveinstall
|
|
|
|
|
|
|
|
- name: slack
|
|
|
|
image: themaz/drone-slack
|
|
|
|
settings:
|
|
|
|
webhook:
|
|
|
|
from_secret: slack_hook
|
|
|
|
when:
|
|
|
|
status: [ success, failure ]
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
2021-10-11 19:01:58 +00:00
|
|
|
- custom
|
|
|
|
|
|
|
|
depends_on:
|
2022-06-24 17:14:06 +00:00
|
|
|
- FullBuild
|