bitbucket-pipelines.yml edited online with Bitbucket
This commit is contained in:
parent
b688c3e5fa
commit
16b5c66625
@ -29,13 +29,4 @@ pipelines:
|
|||||||
caches:
|
caches:
|
||||||
- docker
|
- docker
|
||||||
artifacts:
|
artifacts:
|
||||||
- "*.tar"
|
- "*.tar"
|
||||||
- step:
|
|
||||||
name: Deploy to Production
|
|
||||||
deployment: Production
|
|
||||||
script:
|
|
||||||
- echo ${DOCKERHUB_PASSWORD} | docker login --username "$DOCKERHUB_USERNAME" --password-stdin
|
|
||||||
- IMAGE_NAME=$BITBUCKET_REPO_SLUG
|
|
||||||
- docker push "gmgauthier/${IMAGE_NAME}:latest"
|
|
||||||
services:
|
|
||||||
- docker
|
|
Loading…
Reference in New Issue
Block a user