Release candidate
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lilleman auf Larv 2022-02-15 20:11:58 +01:00
parent edb0ef0ced
commit bfcf27cd60

View File

@ -46,15 +46,19 @@ 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