Fix snyk auth for custom releases

This commit is contained in:
Dave Chevell 2021-09-02 19:58:54 +10:00
parent 14d38bd30c
commit d7dc31ee9a
2 changed files with 2 additions and 2 deletions

View File

@ -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}

View File

@ -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}