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