bitbucket-pipelines.yml edited online with Bitbucket

This commit is contained in:
Greg Gauthier 2021-02-26 08:42:14 +00:00
parent b688c3e5fa
commit 16b5c66625

View File

@ -30,12 +30,3 @@ pipelines:
- 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