Merged in repo-rename-fixes (pull request #105)

Ensure we're pushing to both repo aliases for the README and custom builds.

Approved-by: Nasser Ghazali-Beiklar
This commit is contained in:
Steve Smith 2021-09-03 02:40:38 +00:00
commit fcf596759e
2 changed files with 10 additions and 6 deletions

View File

@ -336,6 +336,8 @@ pipelines:
- pip install -q requests
- export DOCKER_REPO='atlassian/confluence-server'
- python shared-components/image/push-readme.py
- export DOCKER_REPO='atlassian/confluence'
- python shared-components/image/push-readme.py
######################################################################
@ -709,8 +711,8 @@ pipelines:
- git submodule update --init --recursive
- echo ${DOCKER_PASSWORD} | docker login --username ${DOCKER_USERNAME} --password-stdin
- >
docker build -t atlassian/confluence-server:${DOCKER_TAG}
docker build -t atlassian/confluence:${DOCKER_TAG}
--build-arg CONFLUENCE_VERSION=${CONFLUENCE_VERSION} .
- snyk auth $SNYK_TOKEN
- snyk container test atlassian/confluence-server:${DOCKER_TAG} --severity-threshold=high
- docker push atlassian/confluence-server:${DOCKER_TAG}
- snyk container test atlassian/confluence:${DOCKER_TAG} --severity-threshold=high
- docker push atlassian/confluence:${DOCKER_TAG}

View File

@ -69,6 +69,8 @@ pipelines:
- pip install -q requests
- export DOCKER_REPO='atlassian/confluence-server'
- python shared-components/image/push-readme.py
- export DOCKER_REPO='atlassian/confluence'
- python shared-components/image/push-readme.py
######################################################################
@ -164,8 +166,8 @@ pipelines:
- git submodule update --init --recursive
- echo ${DOCKER_PASSWORD} | docker login --username ${DOCKER_USERNAME} --password-stdin
- >
docker build -t atlassian/confluence-server:${DOCKER_TAG}
docker build -t atlassian/confluence:${DOCKER_TAG}
--build-arg CONFLUENCE_VERSION=${CONFLUENCE_VERSION} .
- snyk auth $SNYK_TOKEN
- snyk container test atlassian/confluence-server:${DOCKER_TAG} --severity-threshold=high
- docker push atlassian/confluence-server:${DOCKER_TAG}
- snyk container test atlassian/confluence:${DOCKER_TAG} --severity-threshold=high
- docker push atlassian/confluence:${DOCKER_TAG}