Skip to content

Commit ae62e86

Browse files
committed
Merged in publish-docker-image (pull request #3)
Publish docker image
2 parents 332a6fb + 00563b1 commit ae62e86

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bitbucket-pipelines.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,16 @@ pipelines:
2626
- step:
2727
name: 'Build Docker Image'
2828
script:
29-
- IMAGE_NAME=$BITBUCKET_REPO_SLUG
29+
- IMAGE_NAME=${BITBUCKET_REPO_SLUG}
30+
- echo "IMAGE_NAME is set to:\ ${IMAGE_NAME}"
3031
- docker build . --file Dockerfile --tag ${IMAGE_NAME}
3132
- docker save ${IMAGE_NAME} --output "${IMAGE_NAME}.tar"
3233
services:
3334
- docker
3435
caches:
3536
- docker
3637
artifacts:
37-
- ".tar"
38+
- "*.tar"
3839
- step:
3940
name: 'Publish Docker Image'
4041
deployment: Production

0 commit comments

Comments
 (0)