joker/.drone.yml

65 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2019-06-02 20:57:21 +00:00
kind: pipeline
name: amd64
platform:
os: linux
arch: amd64
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
2019-09-11 01:33:43 +00:00
repo: registry.meow.tf/joker/joker
2019-06-02 20:57:21 +00:00
registry: registry.meow.tf
tags:
- amd64-latest
---
kind: pipeline
name: arm64
platform:
os: linux
arch: arm64
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
2019-09-11 01:33:43 +00:00
repo: registry.meow.tf/joker/joker
2019-06-02 20:57:21 +00:00
registry: registry.meow.tf
tags:
- arm64-latest
---
kind: pipeline
name: manifest
steps:
- name: manifest
image: registry.meow.tf/docker/tools/manifest-tool:amd64-latest
environment:
DOCKER_USERNAME:
from_secret: docker_username
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_REGISTRY:
from_secret: docker_registry
commands:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD $DOCKER_REGISTRY
- /usr/bin/manifest-tool push from-spec manifest.yml
depends_on:
- amd64
- arm64
image_pull_secrets:
- dockerconfigjson