activemq-artemis/.drone.yml

38 lines
1.0 KiB
YAML

kind: pipeline
type: docker
name: default
steps:
- name: prepare-environment
image: ubuntu
environment:
ARTEMIS_VERSION: 2.13.0
commands:
- apt update && apt install -y wget
- wget http://xenia.sote.hu/ftp/mirrors/www.apache.org/activemq/activemq-artemis/${ARTEMIS_VERSION}/apache-artemis-${ARTEMIS_VERSION}-bin.tar.gz
- tar -xvf apache-artemis-${ARTEMIS_VERSION}-bin.tar.gz
- mv apache-artemis-${ARTEMIS_VERSION}/* .
- rm -rf apache-artemis-${ARTEMIS_VERSION}-bin.tar.gz
- rmdir apache-artemis-${ARTEMIS_VERSION}
- name: kaniko
image: banzaicloud/drone-kaniko
settings:
registry: registry.kmlabz.com
repo: birbnetes/${DRONE_REPO_NAME}
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
tags:
- latest
- ${DRONE_BUILD_NUMBER}
- name: ms-teams
image: kuperiu/drone-teams
settings:
webhook:
from_secret: TEAMS_WEBHOOK
when:
status: [ failure ]