2021-02-25 16:36:10 +00:00
|
|
|
image: atlassian/default-image:2
|
|
|
|
|
|
|
|
pipelines:
|
|
|
|
default:
|
|
|
|
- parallel:
|
|
|
|
- step:
|
2021-02-25 17:20:47 +00:00
|
|
|
name: Parallel Build and Test
|
2021-02-25 16:36:10 +00:00
|
|
|
script:
|
|
|
|
- IMAGE_NAME=$BITBUCKET_REPO_SLUG
|
2021-02-26 08:49:17 +00:00
|
|
|
- docker build . --file Dockerfile --tag ${DOCKERHUB_USERNAME}/${IMAGE_NAME}:latest
|
2021-02-25 16:36:10 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
caches:
|
2021-02-26 08:49:17 +00:00
|
|
|
- docker
|