diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 027a28d..f0e23e6 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -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} diff --git a/bitbucket-pipelines.yml.j2 b/bitbucket-pipelines.yml.j2 index dcfcd88..01bb5ec 100644 --- a/bitbucket-pipelines.yml.j2 +++ b/bitbucket-pipelines.yml.j2 @@ -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}