make debug build
This commit is contained in:
parent
b83cafc454
commit
4557f2b03d
1 changed files with 16 additions and 11 deletions
27
.drone.yml
27
.drone.yml
|
@ -8,7 +8,7 @@ steps:
|
||||||
- name: docker_sock
|
- name: docker_sock
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- docker build . --file docker/prod/Dockerfile --tag dessalines/lemmy:travis
|
- docker build . --file docker/dev/Dockerfile --tag dessalines/lemmy:travis
|
||||||
|
|
||||||
- name: run federation tests
|
- name: run federation tests
|
||||||
image: docker/compose:alpine-1.27.4
|
image: docker/compose:alpine-1.27.4
|
||||||
|
@ -32,16 +32,21 @@ steps:
|
||||||
- popd
|
- popd
|
||||||
- docker-compose down
|
- docker-compose down
|
||||||
|
|
||||||
# TODO: only if tag is set (and read version from git tag as well)
|
TODO: only if tag is set (and read version from git tag as well)
|
||||||
#- name: push to docker hub
|
- name: make release build and push to docker hub
|
||||||
# image: docker/compose:alpine-1.27.4
|
image: docker/compose:alpine-1.27.4
|
||||||
# volumes:
|
volumes:
|
||||||
# - name: docker_sock
|
- name: docker_sock
|
||||||
# path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
# commands:
|
commands:
|
||||||
# - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
- docker build . --file docker/prod/Dockerfile --tag dessalines/lemmy:travis
|
||||||
# - docker tag dessalines/lemmy:travis dessalines/lemmy:v0.8.10
|
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||||
# - docker push dessalines/lemmy:v0.8.10
|
- docker tag dessalines/lemmy:travis dessalines/lemmy:v0.8.10
|
||||||
|
- docker push dessalines/lemmy:v0.8.10when:
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- refs/heads/feature-*
|
||||||
|
- refs/tags/*
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker_sock
|
- name: docker_sock
|
||||||
|
|
Loading…
Reference in a new issue