'update files with ansible'

This commit is contained in:
jonny 2021-03-31 02:17:43 +00:00
parent 9725ab08de
commit a8da0d576b
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# Base on latest (edge) alpine image
FROM harbor.ervine.dev/public/x86_64/liberica-openjdk-alpine-musl:14.0.2-x86_64
FROM harbor.ervine.dev/public/x86_64/alpine:v3.13.2
MAINTAINER “Jonathan Ervine” <docker@ervine.org>
@ -13,7 +13,7 @@ RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositorie
apk -U upgrade --ignore alpine-baselayout && \
apk -U add unzip python3
RUN wget https://github.com/theotherp/nzbhydra2/releases/download/v3.13.2/nzbhydra2-3.13.2-linux.zip -O hydra.zip && \
RUN wget https://github.com/theotherp/nzbhydra2/releases/download/v3.0.2.4552/nzbhydra2-3.0.2.4552-linux.zip -O hydra.zip && \
mkdir /nzbhydra && \
unzip /hydra.zip -d /nzbhydra && \
chmod 755 /nzbhydra/nzbhydra2 && \

4
Jenkinsfile vendored
View File

@ -28,11 +28,11 @@ spec:
stage('Build with Kaniko') {
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-nzbhydra.git', credentialsId: 'jenkins-to-git'
container('kaniko') {
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/nzbhydra2:v3.13.2'
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/nzbhydra2:v3.0.2.4552'
}
}
stage('Notify gchat') {
hangoutsNotify message: "NZBhydra 3.13.2 on Alpine has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
hangoutsNotify message: "NZBhydra 3.0.2.4552 on Alpine has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
}
}
}