Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dbf4512e9f | |||
| bfcf27cd60 |
12
.drone.yml
12
.drone.yml
@@ -46,17 +46,23 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: docker-sock
|
- name: docker-sock
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
environment:
|
|
||||||
DOCKERHUB_TOKEN:
|
|
||||||
from_secret: dockerhub
|
|
||||||
commands:
|
commands:
|
||||||
- docker build -t lilleman/auth-api-db-migrate:$DRONE_TAG -f ./Dockerfile.migrations .
|
- docker build -t lilleman/auth-api-db-migrate:$DRONE_TAG -f ./Dockerfile.migrations .
|
||||||
- docker build -t lilleman/auth-api:$DRONE_TAG -f ./Dockerfile .
|
- docker build -t lilleman/auth-api:$DRONE_TAG -f ./Dockerfile .
|
||||||
- name: Push to Docker Hub
|
- name: Push to Docker Hub
|
||||||
image: docker/compose:1.29.2
|
image: docker/compose:1.29.2
|
||||||
|
environment:
|
||||||
|
DOCKERHUB_TOKEN:
|
||||||
|
from_secret: dockerhub
|
||||||
|
volumes:
|
||||||
|
- name: docker-sock
|
||||||
|
path: /var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
|
- docker login -u lilleman -p $DOCKERHUB_TOKEN
|
||||||
- docker push lilleman/auth-api-db-migrate:$DRONE_TAG
|
- docker push lilleman/auth-api-db-migrate:$DRONE_TAG
|
||||||
- docker push lilleman/auth-api:$DRONE_TAG
|
- docker push lilleman/auth-api:$DRONE_TAG
|
||||||
|
- docker push lilleman/auth-api-db-migrate:latest
|
||||||
|
- docker push lilleman/auth-api:latest
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker-sock
|
- name: docker-sock
|
||||||
|
|||||||
Reference in New Issue
Block a user