37 lines
646 B
YAML
37 lines
646 B
YAML
|
kind: pipeline
|
||
|
type: kubernetes
|
||
|
name: Harbor
|
||
|
|
||
|
steps:
|
||
|
- name: build & publish
|
||
|
image: plugins/docker
|
||
|
context: .
|
||
|
settings:
|
||
|
repo: bv11-cr01.bessems.eu/library/packer-extended
|
||
|
registry: bv11-cr01.bessems.eu
|
||
|
tags: latest
|
||
|
mtu: 1450
|
||
|
username:
|
||
|
from_secret: harbor_username
|
||
|
password:
|
||
|
from_secret: harbor_password
|
||
|
|
||
|
---
|
||
|
kind: pipeline
|
||
|
type: kubernetes
|
||
|
name: Dockerhub
|
||
|
|
||
|
steps:
|
||
|
- name: build & publish
|
||
|
image: plugins/docker
|
||
|
context: .
|
||
|
settings:
|
||
|
repo: djpbessems/packer-extended
|
||
|
tags: latest
|
||
|
mtu: 1450
|
||
|
username:
|
||
|
from_secret: docker_username
|
||
|
password:
|
||
|
from_secret: docker_password
|
||
|
|