add build args to drone pipeline
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-02-20 19:10:31 +01:00
parent 53e998863a
commit ea18c18506

View File

@ -10,6 +10,8 @@ steps:
- name: dryrun - name: dryrun
image: plugins/docker:18-linux-amd64 image: plugins/docker:18-linux-amd64
settings: settings:
build_args:
MOLECULE_VERSION: ${DRONE_TAG%-*}
dockerfile: Dockerfile dockerfile: Dockerfile
dry_run: true dry_run: true
password: password:
@ -26,6 +28,8 @@ steps:
settings: settings:
auto_tag: true auto_tag: true
auto_tag_suffix: amd64 auto_tag_suffix: amd64
build_args:
MOLECULE_VERSION: ${DRONE_TAG%-*}
dockerfile: Dockerfile dockerfile: Dockerfile
password: password:
from_secret: docker_password from_secret: docker_password
@ -120,6 +124,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: f0d15cc962a0fc24405a835ed125ce8af4769c0f4f7458c147b7cf612270c48c hmac: be9fd46c13479234356c404f031f5de5a7401accfa6ee6a0bdf1498f5b98c61f
... ...