42 lines
843 B
YAML
42 lines
843 B
YAML
kind: pipeline
|
|
name: amd64
|
|
type: docker
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
repo: registry.meow.tf/tyler/precise-lite
|
|
registry: registry.meow.tf
|
|
tags:
|
|
- latest
|
|
when:
|
|
branch:
|
|
include:
|
|
- master
|
|
depends_on: [ clone ]
|
|
- name: docker-gpu
|
|
image: plugins/docker
|
|
settings:
|
|
dockerfile: Dockerfile.gpu
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
repo: registry.meow.tf/tyler/precise-lite
|
|
registry: registry.meow.tf
|
|
tags:
|
|
- latest-gpu
|
|
when:
|
|
branch:
|
|
include:
|
|
- master
|
|
depends_on: [ clone ] |