docker-atlassian-confluence.../bitbucket-pipelines.yml
2019-05-16 15:56:50 +10:00

31 lines
1.2 KiB
YAML

image: atlassian/docker-release-maker:latest
pipelines:
custom:
create-release-base-6-adoptopenjdk8:
- step:
services:
- docker
script:
- export BASE_VERSION='6'
- export DEFAULT_RELEASE='true'
- 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
branches:
base-6-adoptopenjdk8:
- step:
services:
- docker
script:
- export BASE_VERSION='6'
- export DEFAULT_RELEASE='true'
- 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