From a1edc08c6f8732cd0aa2f20e4829a6b921bf0e67 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 22 Feb 2020 14:57:58 +0100 Subject: [PATCH] fix env vars --- .drone.jsonnet | 6 +++--- .drone.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index bae3ec8..3cee092 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -12,7 +12,7 @@ local PipelineBuild(arch='amd64') = { settings: { dry_run: true, dockerfile: 'Dockerfile', - repo: 'xoxys/$DRONE_REPO_NAME', + repo: 'xoxys/${DRONE_REPO_NAME}', username: { from_secret: 'docker_username' }, password: { from_secret: 'docker_password' }, build_args: [ @@ -32,7 +32,7 @@ local PipelineBuild(arch='amd64') = { auto_tag: true, auto_tag_suffix: arch, dockerfile: 'Dockerfile', - repo: 'xoxys/$DRONE_REPO_NAME', + repo: 'xoxys/${DRONE_REPO_NAME}', username: { from_secret: 'docker_username' }, password: { from_secret: 'docker_password' }, build_args: [ @@ -99,7 +99,7 @@ local PipelineNotifications(depends_on=[]) = { DOCKERHUB_USERNAME: { from_secret: 'docker_username' }, DOCKERHUB_PASSWORD: { from_secret: 'docker_password' }, DOCKERHUB_REPO_PREFIX: 'xoxys', - DOCKERHUB_REPO_NAME: '$DRONE_REPO_NAME', + DOCKERHUB_REPO_NAME: '${DRONE_REPO_NAME}', README_PATH: 'README.md', SHORT_DESCRIPTION: 'Rootless Kanboard - Kanban project management software', }, diff --git a/.drone.yml b/.drone.yml index 98e77ef..f5bef54 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,7 +16,7 @@ steps: dry_run: true password: from_secret: docker_password - repo: xoxys/$DRONE_REPO_NAME + repo: xoxys/${DRONE_REPO_NAME} username: from_secret: docker_username when: @@ -33,7 +33,7 @@ steps: dockerfile: Dockerfile password: from_secret: docker_password - repo: xoxys/$DRONE_REPO_NAME + repo: xoxys/${DRONE_REPO_NAME} username: from_secret: docker_username when: @@ -86,7 +86,7 @@ steps: environment: DOCKERHUB_PASSWORD: from_secret: docker_password - DOCKERHUB_REPO_NAME: $DRONE_REPO_NAME + DOCKERHUB_REPO_NAME: ${DRONE_REPO_NAME} DOCKERHUB_REPO_PREFIX: xoxys DOCKERHUB_USERNAME: from_secret: docker_username @@ -126,6 +126,6 @@ depends_on: --- kind: signature -hmac: 215b61e4556564dd7243b47f845c21ff48003c0e6225054e781141db60a72ffe +hmac: 8726f8977791a2b9cfe2fe15d08fdae1b258103363fd8227f6580cd1e141bfe1 ...