Fixing the yaml file so it biulds the container when merging to master
This commit is contained in:
parent
3ce485d36f
commit
dc097d5b66
@ -25,6 +25,7 @@ pipelines:
|
|||||||
- step:
|
- step:
|
||||||
script:
|
script:
|
||||||
- export IMAGE_NAME=ldooks/dragon-bot:latest
|
- export IMAGE_NAME=ldooks/dragon-bot:latest
|
||||||
|
- docker build -t $IMAGE_NAME .
|
||||||
# authenticate with the Docker Hub registry
|
# authenticate with the Docker Hub registry
|
||||||
- docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
|
- docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
|
||||||
# push the new Docker image to the Docker registry
|
# push the new Docker image to the Docker registry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user