feat: add Dockerfile build
continuous-integration/drone/push Build is failing Details

pull/1/head
Davide Polonio 2023-03-27 10:38:49 +02:00
parent c34d3acabc
commit a77e84a848
1 changed files with 8 additions and 2 deletions

View File

@ -3,11 +3,11 @@ type: docker
name: default name: default
steps: steps:
- name: Build - name: Maven build
image: eclipse-temurin:17-jdk image: eclipse-temurin:17-jdk
commands: commands:
- ./mvnw package -B -DskipTests=true - ./mvnw package -B -DskipTests=true
- name: Tests - name: UT & IT Tests
image: quay.io/testcontainers/dind-drone-plugin image: quay.io/testcontainers/dind-drone-plugin
environment: environment:
CI_WORKSPACE: "/drone/src" CI_WORKSPACE: "/drone/src"
@ -19,6 +19,12 @@ steps:
volumes: volumes:
- name: dockersock - name: dockersock
path: /var/run path: /var/run
- name: Docker image
image: thegeeklab/drone-docker-buildx:23
privileged: true
settings:
pull_image: true
dry_run: true
# Specify docker:dind as a service # Specify docker:dind as a service
services: services: