|
|
|
@ -32,6 +32,8 @@ steps:
|
|
|
|
|
commands: |
|
|
|
|
- apt-get -qq update && apt-get install -yqq --no-install-recommends make |
|
|
|
|
- make build |
|
|
|
|
environment: |
|
|
|
|
BUILD_VERSION: ${DRONE_TAG%-*} |
|
|
|
|
|
|
|
|
|
- name: verify |
|
|
|
|
image: dart:stable |
|
|
|
@ -44,15 +46,9 @@ steps:
|
|
|
|
|
- name: dryrun |
|
|
|
|
image: thegeeklab/drone-docker-buildx:20 |
|
|
|
|
settings: |
|
|
|
|
build_args: |
|
|
|
|
- BUILD_VERSION=${DRONE_TAG%-*} |
|
|
|
|
dockerfile: Dockerfile |
|
|
|
|
dry_run: true |
|
|
|
|
password: |
|
|
|
|
from_secret: docker_password |
|
|
|
|
repo: thegeeklab/${DRONE_REPO_NAME} |
|
|
|
|
username: |
|
|
|
|
from_secret: docker_username |
|
|
|
|
when: |
|
|
|
|
ref: |
|
|
|
|
- refs/pull/** |
|
|
|
@ -92,8 +88,6 @@ steps:
|
|
|
|
|
- name: publish-dockerhub |
|
|
|
|
image: thegeeklab/drone-docker-buildx:20 |
|
|
|
|
settings: |
|
|
|
|
build_args: |
|
|
|
|
- BUILD_VERSION=${DRONE_TAG%-*} |
|
|
|
|
dockerfile: Dockerfile |
|
|
|
|
password: |
|
|
|
|
from_secret: docker_password |
|
|
|
@ -110,8 +104,6 @@ steps:
|
|
|
|
|
- name: publish-quay |
|
|
|
|
image: thegeeklab/drone-docker-buildx:20 |
|
|
|
|
settings: |
|
|
|
|
build_args: |
|
|
|
|
- BUILD_VERSION=${DRONE_TAG%-*} |
|
|
|
|
dockerfile: Dockerfile |
|
|
|
|
password: |
|
|
|
|
from_secret: quay_password |
|
|
|
@ -217,6 +209,6 @@ depends_on:
|
|
|
|
|
|
|
|
|
|
--- |
|
|
|
|
kind: signature |
|
|
|
|
hmac: c395bc7653458c3fa8c3bd62cb9f615d3af8c53e7c929b1ea90b6c3a71738e6e |
|
|
|
|
hmac: 8746fe501b443c4f93f766414ef030b10c28cdc0cc19ca5984601c4bb5f98bf6 |
|
|
|
|
|
|
|
|
|
... |
|
|
|
|