Updated docker release pipelines config

This commit is contained in:
Dave Chevell 2019-05-16 15:51:31 +10:00
parent 49959dc017
commit 3cc2669370
No known key found for this signature in database
GPG Key ID: 279DF1B52C7C44DC

View File

@ -1,29 +1,31 @@
image: dchevell/docker-release-maker:latest image: atlassian/docker-release-maker:latest
clone:
depth: full
pipelines: pipelines:
custom: custom:
create-release-base-6-adoptopenjdk8: create-release-base-6-adoptopenjdk8:
- step: - step:
services:
- docker
script: script:
- git remote set-url origin ${BITBUCKET_GIT_HTTP_ORIGIN} - export BASE_VERSION='6'
- git fetch --all
- export BASE_BRANCH='base-6-adoptopenjdk8'
- export MAC_PRODUCT_KEY='confluence'
- export DOCKERFILE_VERSION_STRING='CONFLUENCE_VERSION'
- export DEFAULT_RELEASE='true' - export DEFAULT_RELEASE='true'
- export ADDITIONAL_TAG_SUFFIXES='ubuntu,ubuntu-18.04-adoptopenjdk8' - export DOCKER_REPO='atlassian/confluence-server'
- export DOCKERFILE_VERSION_ARG='CONFLUENCE_VERSION'
- export MAC_PRODUCT_KEY='confluence'
- export TAG_SUFFIXES='adoptopenjdk8,jdk8,ubuntu,ubuntu-18.04-adoptopenjdk8'
- docker login --username ${DOCKER_USERNAME} --password ${DOCKER_PASSWORD}
- python /usr/src/app/run.py --create - python /usr/src/app/run.py --create
branches: branches:
base-6-adoptopenjdk8: base-6-adoptopenjdk8:
- step: - step:
services:
- docker
script: script:
- git remote set-url origin ${BITBUCKET_GIT_HTTP_ORIGIN} - export BASE_VERSION='6'
- git fetch --all
- export BASE_BRANCH='base-6-adoptopenjdk8'
- export MAC_PRODUCT_KEY='confluence'
- export DOCKERFILE_VERSION_STRING='CONFLUENCE_VERSION'
- export DEFAULT_RELEASE='true' - export DEFAULT_RELEASE='true'
- export ADDITIONAL_TAG_SUFFIXES='ubuntu,ubuntu-18.04-adoptopenjdk8' - export DOCKER_REPO='atlassian/confluence-server'
- export DOCKERFILE_VERSION_ARG='CONFLUENCE_VERSION'
- export MAC_PRODUCT_KEY='confluence'
- export TAG_SUFFIXES='adoptopenjdk8,jdk8,ubuntu,ubuntu-18.04-adoptopenjdk8'
- docker login --username ${DOCKER_USERNAME} --password ${DOCKER_PASSWORD}
- python /usr/src/app/run.py --update - python /usr/src/app/run.py --update