From d7dc31ee9af238796e34ce1bf4f72fb0421ae597 Mon Sep 17 00:00:00 2001 From: Dave Chevell Date: Thu, 2 Sep 2021 19:58:54 +1000 Subject: [PATCH] Fix snyk auth for custom releases --- bitbucket-pipelines.yml | 2 +- bitbucket-pipelines.yml.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 1319e3e..027a28d 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -711,6 +711,6 @@ pipelines: - > docker build -t atlassian/confluence-server:${DOCKER_TAG} --build-arg CONFLUENCE_VERSION=${CONFLUENCE_VERSION} . - - snyk auth @SNYK_TOKEN + - snyk auth $SNYK_TOKEN - snyk container test atlassian/confluence-server:${DOCKER_TAG} --severity-threshold=high - docker push atlassian/confluence-server:${DOCKER_TAG} diff --git a/bitbucket-pipelines.yml.j2 b/bitbucket-pipelines.yml.j2 index 05db677..dcfcd88 100644 --- a/bitbucket-pipelines.yml.j2 +++ b/bitbucket-pipelines.yml.j2 @@ -166,6 +166,6 @@ pipelines: - > docker build -t atlassian/confluence-server:${DOCKER_TAG} --build-arg CONFLUENCE_VERSION=${CONFLUENCE_VERSION} . - - snyk auth @SNYK_TOKEN + - snyk auth $SNYK_TOKEN - snyk container test atlassian/confluence-server:${DOCKER_TAG} --severity-threshold=high - docker push atlassian/confluence-server:${DOCKER_TAG}