ContainerImage.PackerExtended/.drone.yml

52 lines
1013 B
YAML
Raw Normal View History

2020-12-30 10:58:00 +00:00
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
2021-01-04 10:09:50 +00:00
build_args_from_env:
- REPO_USERNAME
- REPO_PASSWORD
environment:
REPO_USERNAME:
from_secret: repo_username
REPO_PASSWORD:
from_secret: repo_password
2020-12-30 10:58:00 +00:00
---
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
2021-01-04 10:09:50 +00:00
build_args_from_env:
- REPO_USERNAME
- REPO_PASSWORD
environment:
REPO_USERNAME:
from_secret: repo_username
REPO_PASSWORD:
from_secret: repo_password