updating pipeline script
This commit is contained in:
parent
28c8eaf623
commit
e5013f632b
@ -10,15 +10,11 @@ options:
|
|||||||
docker: true
|
docker: true
|
||||||
|
|
||||||
pipelines:
|
pipelines:
|
||||||
default:
|
|
||||||
- step:
|
|
||||||
script:
|
|
||||||
# Set $DOCKER_HUB_USERNAME and $DOCKER_HUB_PASSWORD as environment variables in repository settings
|
|
||||||
- export IMAGE_NAME=ldooks/dragon-bot:latest
|
|
||||||
branches:
|
branches:
|
||||||
master:
|
master:
|
||||||
- step:
|
- step:
|
||||||
script:
|
script:
|
||||||
|
- export IMAGE_NAME=ldooks/dragon-bot:latest
|
||||||
# build the Docker image (this will use the Dockerfile in the root of the repo)
|
# build the Docker image (this will use the Dockerfile in the root of the repo)
|
||||||
- docker build -t $IMAGE_NAME .
|
- docker build -t $IMAGE_NAME .
|
||||||
# authenticate with the Docker Hub registry
|
# authenticate with the Docker Hub registry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user