Merged in fix-custom-releases (pull request #104)

Fix snyk auth for custom releases

Approved-by: Steve Smith
Approved-by: Dylan Rathbone
This commit is contained in:
Dave Chevell 2021-09-02 23:34:26 +00:00 committed by Steve Smith
commit 3b8817ffd9
2 changed files with 2 additions and 2 deletions

View File

@ -711,6 +711,6 @@ pipelines:
- > - >
docker build -t atlassian/confluence-server:${DOCKER_TAG} docker build -t atlassian/confluence-server:${DOCKER_TAG}
--build-arg CONFLUENCE_VERSION=${CONFLUENCE_VERSION} . --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 - snyk container test atlassian/confluence-server:${DOCKER_TAG} --severity-threshold=high
- docker push atlassian/confluence-server:${DOCKER_TAG} - docker push atlassian/confluence-server:${DOCKER_TAG}

View File

@ -166,6 +166,6 @@ pipelines:
- > - >
docker build -t atlassian/confluence-server:${DOCKER_TAG} docker build -t atlassian/confluence-server:${DOCKER_TAG}
--build-arg CONFLUENCE_VERSION=${CONFLUENCE_VERSION} . --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 - snyk container test atlassian/confluence-server:${DOCKER_TAG} --severity-threshold=high
- docker push atlassian/confluence-server:${DOCKER_TAG} - docker push atlassian/confluence-server:${DOCKER_TAG}