modem7-docker-borgmatic/.drone.yml

149 wiersze
2.8 KiB
YAML
Czysty Zwykły widok Historia

---
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
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
- linux/arm64
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- latest
- 1.6.5-1.2.1
- 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
---
kind: pipeline
type: docker
2022-05-27 02:51:53 +00:00
name: Dockercli
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
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
- linux/arm64
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:
- 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
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
- linux/arm64
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:
- FullBuild