This repository was archived by the owner on Jan 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +41
-2
lines changed Expand file tree Collapse file tree 2 files changed +41
-2
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ jobs :
3+ release :
4+ docker :
5+ - image : circleci/openjdk:8-jdk
6+ steps :
7+ - checkout
8+ - add_ssh_keys :
9+ fingerprints :
10+ - " 31:63:53:c4:af:b7:2c:a1:62:8e:b0:11:83:f8:62:eb"
11+ - run :
12+ name : Set up git
13+ command : |
14+ git config --global user.name "CircleCI"
15+ git config --global user.email "[email protected] " 16+ ssh-keyscan -T 15 github.com >> ~/.ssh/known_hosts
17+ - setup_remote_docker
18+ - run :
19+ name : Release
20+ command : |
21+ sudo apt-get install -y jq
22+ export VERSION=`jq -r '.version' vars.js`
23+ docker login -u "$DOCKER_USER" -p "$DOCKER_PASS"
24+ ./release.sh
25+ git tag -a $VERSION -m "Release $VERSION."
26+ git push --tags
27+ workflows :
28+ version : 2
29+ release :
30+ jobs :
31+ - hold :
32+ type : approval
33+ filters :
34+ branches :
35+ only : master
36+ - release :
37+ requires :
38+ - hold
39+ filters :
40+ branches :
41+ only : master
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -eu
33
4- export VERSION=3.2.1
5-
64# Build
75docker build -t mwizner/sonarqube-scala-plugins:$VERSION -t mwizner/sonarqube-scala-plugins:latest $VERSION
86docker build -t mwizner/sonarqube-scala-plugins:$VERSION -full $VERSION -full
You can’t perform that action at this time.
0 commit comments