python-service-1/bitbucket-pipelines.yml

14 lines
383 B
YAML

image: atlassian/default-image:2
pipelines:
default:
- parallel:
- step:
name: Parallel Build and Test
script:
- IMAGE_NAME=$BITBUCKET_REPO_SLUG
- docker build . --file Dockerfile --tag ${DOCKERHUB_USERNAME}/${IMAGE_NAME}:latest
services:
- docker
caches:
- docker