docker-socket-proxy/.drone.yml
Ian Fijolek dda3c4b6c3
All checks were successful
continuous-integration/drone/push Build is passing
Enable multi-arch builds
2019-07-13 14:30:35 -07:00

67 lines
1.5 KiB
YAML

kind: pipeline
name: publish
trigger:
event:
- push
- tag
refs:
- refs/heads/master
- refs/tags/v*
steps:
- name: push image - arm
image: plugins/docker
settings:
repo: iamthefij/docker-socket-proxy
auto_tag: true
auto_tag_suffix: linux-arm
username:
from_secret: docker_username
password:
from_secret: docker_password
build_args:
- REPO=arm32v6
- VCS_REV=${DRONE_COMMIT_SHA}
- BUILD_DATE=${DRONE_BUILD_CREATED}
- name: push image - arm64
image: plugins/docker
settings:
repo: iamthefij/docker-socket-proxy
auto_tag: true
auto_tag_suffix: linux-arm64
username:
from_secret: docker_username
password:
from_secret: docker_password
build_args:
- REPO=arm32v6
- VCS_REV=${DRONE_COMMIT_SHA}
- BUILD_DATE=${DRONE_BUILD_CREATED}
- name: push image - amd64
image: plugins/docker
settings:
repo: iamthefij/docker-socket-proxy
auto_tag: true
auto_tag_suffix: linux-amd64
username:
from_secret: docker_username
password:
from_secret: docker_password
build_args:
- VCS_REV=${DRONE_COMMIT_SHA}
- BUILD_DATE=${DRONE_BUILD_CREATED}
- name: publish manifest
image: plugins/manifest
settings:
spec: manifest.tmpl
auto_tag: true
ignore_missing: true
username:
from_secret: docker_username
password:
from_secret: docker_password