0
0
mirror of https://github.com/thegeeklab/wp-ansible.git synced 2024-09-20 01:12:46 +02:00

fix ci syntax

This commit is contained in:
Robert Kaussow 2021-01-26 14:08:18 +01:00
parent 07f07027c5
commit e5389e8955
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61

View File

@ -213,21 +213,18 @@ def pushrm(ctx):
"name": "pushrm",
"steps": [
{
name: "pushrm",
image: "chko/docker-pushrm:1",
environment: {
DOCKER_PASS: {
from_secret: "docker_password",
"name": "pushrm",
"image": "chko/docker-pushrm:1",
"environment": {
"DOCKER_PASS": {
"from_secret": "docker_password",
},
DOCKER_USER: {
from_secret: "docker_username",
"DOCKER_USER": {
"from_secret": "docker_username",
},
PUSHRM_FILE: "README.md",
PUSHRM_SHORT: "Drone plugin to provision infrastructure with Ansible",
PUSHRM_TARGET: owncloudci/%s" % (ctx.repo.name),
},
when: {
status: ["success"],
"PUSHRM_FILE": "README.md",
"PUSHRM_SHORT": "Drone plugin to provision infrastructure with Ansible",
"PUSHRM_TARGET": "owncloudci/%s" % (ctx.repo.name),
},
},
],
@ -238,6 +235,7 @@ def pushrm(ctx):
"ref": [
"refs/tags/**",
],
"status": ["success"],
},
}]