Update '.drone.yml'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2021-07-21 11:30:44 +02:00
parent 3d3ea851a6
commit e8eebe16f8

View File

@ -1,31 +1,31 @@
kind: pipeline kind: pipeline
type: docker type: docker
name: default name: default
steps: steps:
- name: build_application - name: build_application
image: openjdk:11-jdk image: openjdk:11-jdk
commands: commands:
- chmod +x gradlew - chmod +x gradlew
- ./gradlew build -x test - ./gradlew build -x test
- name: kaniko - name: kaniko
image: banzaicloud/drone-kaniko image: banzaicloud/drone-kaniko
settings: settings:
registry: registry.kmlabz.com registry: registry.kmlabz.com
repo: birbnetes/${DRONE_REPO_NAME} repo: birbnetes/${DRONE_REPO_NAME}
username: username:
from_secret: DOCKER_USERNAME from_secret: DOCKER_USERNAME
password: password:
from_secret: DOCKER_PASSWORD from_secret: DOCKER_PASSWORD
tags: tags:
- latest - latest
- ${DRONE_BUILD_NUMBER} - ${DRONE_BUILD_NUMBER}
- name: ms-teams - name: ms-teams
image: kuperiu/drone-teams image: kuperiu/drone-teams
settings: settings:
webhook: webhook:
from_secret: TEAMS_WEBHOOK from_secret: TEAMS_WEBHOOK
when: when:
status: [ failure ] status: [ failure, changed ]