fix
continuous-integration/drone/push Build is failing Details

drone-setup
Override-6 2 years ago
parent 87accaf7a2
commit c4fae28f43

@ -3,14 +3,14 @@ type: docker
name: "Server CI"
steps:
- name: Unit tests
image: override6/tbasket-backend:latest
volumes:
- name: build
path: ./build
commands:
- ./mill tests.test
#steps:
# - name: Unit tests
# image: override6/tbasket-backend:latest
# volumes:
# - name: build
# path: ./build
# commands:
# - ./mill tests.test
# - name: Deploy
# image: override6/tbasket-backend:latest
@ -38,6 +38,11 @@ name: "Deploy committed docker images"
steps:
- name: Build and push
image: override6/docker-git
environment:
DOCKER_USERNAME:
from_secret: DOCKER_USERNAME
DOCKER_PASSWORD:
from_secret: DOCKER_PASSWORD
commands:
- chmod +x drone/image-deploy.sh
- drone/image-deploy.sh

@ -7,3 +7,4 @@ RUN apt update &&\
mkdir /opt/gradle &&\
unzip -d /opt/gradle gradle-7.5.1-bin.zip &&\
export GRADLE_HOME=/opt/gradle/gradle-7.5.1

@ -7,3 +7,4 @@ RUN apt update &&\
mkdir /opt/gradle &&\
unzip -d /opt/gradle gradle-7.5.1-bin.zip &&\
export GRADLE_HOME=/opt/gradle/gradle-7.5.1 \