52 lines
1015 B
YAML
52 lines
1015 B
YAML
kind: pipeline
|
|
type: kubernetes
|
|
name: Harbor
|
|
|
|
steps:
|
|
- name: build & publish
|
|
image: plugins/docker
|
|
context: .
|
|
settings:
|
|
repo: bv11-cr01.bessems.eu/library/ansible-extended
|
|
registry: bv11-cr01.bessems.eu
|
|
tags: latest
|
|
mtu: 1450
|
|
username:
|
|
from_secret: harbor_username
|
|
password:
|
|
from_secret: harbor_password
|
|
build_args_from_env:
|
|
- REPO_USERNAME
|
|
- REPO_PASSWORD
|
|
environment:
|
|
REPO_USERNAME:
|
|
from_secret: repo_username
|
|
REPO_PASSWORD:
|
|
from_secret: repo_password
|
|
|
|
---
|
|
kind: pipeline
|
|
type: kubernetes
|
|
name: Dockerhub
|
|
|
|
steps:
|
|
- name: build & publish
|
|
image: plugins/docker
|
|
context: .
|
|
settings:
|
|
repo: djpbessems/ansible-extended
|
|
tags: latest
|
|
mtu: 1450
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
build_args_from_env:
|
|
- REPO_USERNAME
|
|
- REPO_PASSWORD
|
|
environment:
|
|
REPO_USERNAME:
|
|
from_secret: repo_username
|
|
REPO_PASSWORD:
|
|
from_secret: repo_password
|