This commit is contained in:
parent
d90a453342
commit
693023e6f8
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ steps:
|
|||
commands:
|
||||
- docker login docker.io -u $${DOCKERHUB_USERNAME} -p $${DOCKERHUB_PASSWORD}
|
||||
- export TAG=$(openssl rand -hex 8)
|
||||
- docker build --rm=true -f Dockerfile -t $TAG
|
||||
- docker build --rm=true -f Dockerfile -t $TAG .
|
||||
- docker tag $TAG $${DOCKERHUB_USERNAME}/point-median-backend:latest
|
||||
- docker push $${DOCKERHUB_USERNAME}/point-median-backend:latest
|
||||
secrets: [ dockerhub_username, dockerhub_password ]
|
||||
|
|
Loading…
Reference in a new issue