32 lines
625 B
YAML
32 lines
625 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: publish-web
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
dockerfile: web/Dockerfile
|
|
context: web
|
|
purge: true
|
|
pull_image: true
|
|
repo: arminfriedl/alas-web
|
|
tags: latest
|
|
|
|
- name: publish-api
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
dockerfile: api/Dockerfile
|
|
context: api
|
|
purge: true
|
|
pull_image: true
|
|
repo: arminfriedl/alas-api
|
|
tags: latest
|