0
0
mirror of https://github.com/thegeeklab/wp-ansible.git synced 2024-11-09 17:10:41 +00: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", "name": "pushrm",
"steps": [ "steps": [
{ {
name: "pushrm", "name": "pushrm",
image: "chko/docker-pushrm:1", "image": "chko/docker-pushrm:1",
environment: { "environment": {
DOCKER_PASS: { "DOCKER_PASS": {
from_secret: "docker_password", "from_secret": "docker_password",
}, },
DOCKER_USER: { "DOCKER_USER": {
from_secret: "docker_username", "from_secret": "docker_username",
}, },
PUSHRM_FILE: "README.md", "PUSHRM_FILE": "README.md",
PUSHRM_SHORT: "Drone plugin to provision infrastructure with Ansible", "PUSHRM_SHORT": "Drone plugin to provision infrastructure with Ansible",
PUSHRM_TARGET: owncloudci/%s" % (ctx.repo.name), "PUSHRM_TARGET": "owncloudci/%s" % (ctx.repo.name),
},
when: {
status: ["success"],
}, },
}, },
], ],
@ -238,6 +235,7 @@ def pushrm(ctx):
"ref": [ "ref": [
"refs/tags/**", "refs/tags/**",
], ],
"status": ["success"],
}, },
}] }]