initial commit
dreamfall/kiln-builder/pipeline/head This commit looks good Details

main
Morgan McMillian 4 months ago
commit c451d1148d

@ -0,0 +1,15 @@
FROM golang:latest
RUN apt-get update && apt-get install scdoc -y
WORKDIR /usr/src
RUN git clone https://git.sr.ht/~adnano/gmnitohtml
RUN git clone https://git.sr.ht/~adnano/mdtohtml
RUN git clone https://git.sr.ht/~adnano/kiln
RUN cd /usr/src/gmnitohtml && make && make install
RUN cd /usr/src/mdtohtml && make && make install
RUN cd /usr/src/kiln && make && make install
WORKDIR $GOPATH

25
Jenkinsfile vendored

@ -0,0 +1,25 @@
pipeline {
agent none
stages {
stage('Build docker image') {
agent { label 'docker-build' }
steps {
mattermostSend "Docker build started - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
script {
docker.withRegistry('https://git.dreamfall.space/thrrgilag', 'docker-gitea-creds') {
def customImage = docker.build('git.dreamfall.space/thrrgilag/kiln:latest')
customImage.push()
}
}
}
post {
success {
mattermostSend color: "good", message: "Docker build success - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
}
failure {
mattermostSend color: "danger", message: "Docker build failure - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
}
}
}
}
}
Loading…
Cancel
Save