This commit is contained in:
parent
92980355f3
commit
f381b55d90
@ -8,7 +8,7 @@ local PipelineBuild(arch='amd64') = {
|
||||
steps: [
|
||||
{
|
||||
name: 'dryrun',
|
||||
image: 'plugins/docker:18-linux-' + arch,
|
||||
image: 'plugins/docker',
|
||||
settings: {
|
||||
dry_run: true,
|
||||
dockerfile: 'Dockerfile',
|
||||
@ -16,7 +16,7 @@ local PipelineBuild(arch='amd64') = {
|
||||
username: { from_secret: 'docker_username' },
|
||||
password: { from_secret: 'docker_password' },
|
||||
build_args: {
|
||||
MOLECULE_VERSION: "${DRONE_TAG%-*}",
|
||||
MOLECULE_VERSION: '${DRONE_TAG%-*}',
|
||||
},
|
||||
},
|
||||
when: {
|
||||
@ -27,7 +27,7 @@ local PipelineBuild(arch='amd64') = {
|
||||
},
|
||||
{
|
||||
name: 'publish',
|
||||
image: 'plugins/docker:18-linux-' + arch,
|
||||
image: 'plugins/docker',
|
||||
settings: {
|
||||
auto_tag: true,
|
||||
auto_tag_suffix: arch,
|
||||
@ -36,7 +36,7 @@ local PipelineBuild(arch='amd64') = {
|
||||
username: { from_secret: 'docker_username' },
|
||||
password: { from_secret: 'docker_password' },
|
||||
build_args: {
|
||||
MOLECULE_VERSION: "${DRONE_TAG%-*}",
|
||||
MOLECULE_VERSION: '${DRONE_TAG%-*}',
|
||||
},
|
||||
},
|
||||
when: {
|
||||
|
@ -8,7 +8,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: dryrun
|
||||
image: plugins/docker:18-linux-amd64
|
||||
image: plugins/docker
|
||||
settings:
|
||||
build_args:
|
||||
MOLECULE_VERSION: ${DRONE_TAG%-*}
|
||||
@ -24,7 +24,7 @@ steps:
|
||||
- refs/pull/**
|
||||
|
||||
- name: publish
|
||||
image: plugins/docker:18-linux-amd64
|
||||
image: plugins/docker
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: amd64
|
||||
@ -124,6 +124,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: be9fd46c13479234356c404f031f5de5a7401accfa6ee6a0bdf1498f5b98c61f
|
||||
hmac: fa487cfd38a0eb95fe99e8c676b90426589aff4954556d23e59be0895771bcc4
|
||||
|
||||
...
|
||||
|
Reference in New Issue
Block a user