All checks were successful
continuous-integration/drone/tag Build is passing
37 lines
631 B
YAML
37 lines
631 B
YAML
---
|
|
kind: pipeline
|
|
name: tags
|
|
|
|
steps:
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
repo: eumau/postgres
|
|
username:
|
|
from_secret: dockerhub_username
|
|
password:
|
|
from_secret: dockerhub_password
|
|
tags:
|
|
- ${DRONE_TAG}
|
|
build_args:
|
|
- PG_TAG=${DRONE_TAG}
|
|
|
|
trigger:
|
|
event:
|
|
- tag
|
|
|
|
# ---
|
|
# kind: pipeline
|
|
# name: default
|
|
|
|
# steps:
|
|
# - name: docker
|
|
# image: plugins/docker
|
|
# settings:
|
|
# repo: eumau/postgres
|
|
# auto_tag: true
|
|
# username:
|
|
# from_secret: dockerhub_username
|
|
# password:
|
|
# from_secret: dockerhub_password
|