fix env vars
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-02-22 14:57:58 +01:00
parent 2be6ffe0e4
commit a1edc08c6f
2 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@ local PipelineBuild(arch='amd64') = {
settings: { settings: {
dry_run: true, dry_run: true,
dockerfile: 'Dockerfile', dockerfile: 'Dockerfile',
repo: 'xoxys/$DRONE_REPO_NAME', repo: 'xoxys/${DRONE_REPO_NAME}',
username: { from_secret: 'docker_username' }, username: { from_secret: 'docker_username' },
password: { from_secret: 'docker_password' }, password: { from_secret: 'docker_password' },
build_args: [ build_args: [
@ -32,7 +32,7 @@ local PipelineBuild(arch='amd64') = {
auto_tag: true, auto_tag: true,
auto_tag_suffix: arch, auto_tag_suffix: arch,
dockerfile: 'Dockerfile', dockerfile: 'Dockerfile',
repo: 'xoxys/$DRONE_REPO_NAME', repo: 'xoxys/${DRONE_REPO_NAME}',
username: { from_secret: 'docker_username' }, username: { from_secret: 'docker_username' },
password: { from_secret: 'docker_password' }, password: { from_secret: 'docker_password' },
build_args: [ build_args: [
@ -99,7 +99,7 @@ local PipelineNotifications(depends_on=[]) = {
DOCKERHUB_USERNAME: { from_secret: 'docker_username' }, DOCKERHUB_USERNAME: { from_secret: 'docker_username' },
DOCKERHUB_PASSWORD: { from_secret: 'docker_password' }, DOCKERHUB_PASSWORD: { from_secret: 'docker_password' },
DOCKERHUB_REPO_PREFIX: 'xoxys', DOCKERHUB_REPO_PREFIX: 'xoxys',
DOCKERHUB_REPO_NAME: '$DRONE_REPO_NAME', DOCKERHUB_REPO_NAME: '${DRONE_REPO_NAME}',
README_PATH: 'README.md', README_PATH: 'README.md',
SHORT_DESCRIPTION: 'Rootless Kanboard - Kanban project management software', SHORT_DESCRIPTION: 'Rootless Kanboard - Kanban project management software',
}, },

View File

@ -16,7 +16,7 @@ steps:
dry_run: true dry_run: true
password: password:
from_secret: docker_password from_secret: docker_password
repo: xoxys/$DRONE_REPO_NAME repo: xoxys/${DRONE_REPO_NAME}
username: username:
from_secret: docker_username from_secret: docker_username
when: when:
@ -33,7 +33,7 @@ steps:
dockerfile: Dockerfile dockerfile: Dockerfile
password: password:
from_secret: docker_password from_secret: docker_password
repo: xoxys/$DRONE_REPO_NAME repo: xoxys/${DRONE_REPO_NAME}
username: username:
from_secret: docker_username from_secret: docker_username
when: when:
@ -86,7 +86,7 @@ steps:
environment: environment:
DOCKERHUB_PASSWORD: DOCKERHUB_PASSWORD:
from_secret: docker_password from_secret: docker_password
DOCKERHUB_REPO_NAME: $DRONE_REPO_NAME DOCKERHUB_REPO_NAME: ${DRONE_REPO_NAME}
DOCKERHUB_REPO_PREFIX: xoxys DOCKERHUB_REPO_PREFIX: xoxys
DOCKERHUB_USERNAME: DOCKERHUB_USERNAME:
from_secret: docker_username from_secret: docker_username
@ -126,6 +126,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 215b61e4556564dd7243b47f845c21ff48003c0e6225054e781141db60a72ffe hmac: 8726f8977791a2b9cfe2fe15d08fdae1b258103363fd8227f6580cd1e141bfe1
... ...