Use master repo
This commit is contained in:
parent
4f1d64850e
commit
22546ca6c5
@ -12,7 +12,7 @@ RUN apk update && \
|
|||||||
apk -U add python3 gcc py3-pip python3-dev musl-dev libffi-dev git && \
|
apk -U add python3 gcc py3-pip python3-dev musl-dev libffi-dev git && \
|
||||||
adduser -D python
|
adduser -D python
|
||||||
|
|
||||||
RUN mkdir /data && cd /data && git clone --single-branch --branch dev https://git.ervine.org/jonny/gcp-hockey-results /data
|
RUN mkdir /data && cd /data && git clone --single-branch --branch master https://git.ervine.org/jonny/gcp-hockey-results /data
|
||||||
|
|
||||||
RUN pip3 install -r /data/requirements.txt && \
|
RUN pip3 install -r /data/requirements.txt && \
|
||||||
rm -rf /tmp/src && rm -rf /var/cache/apk/*
|
rm -rf /tmp/src && rm -rf /var/cache/apk/*
|
||||||
|
|||||||
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -25,7 +25,7 @@ spec:
|
|||||||
|
|
||||||
node(POD_LABEL) {
|
node(POD_LABEL) {
|
||||||
stage('Build with Kaniko') {
|
stage('Build with Kaniko') {
|
||||||
git branch: "dev", url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-hockey.git', credentialsId: 'jenkins-to-git'
|
git branch: "master", url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-hockey.git', credentialsId: 'jenkins-to-git'
|
||||||
container('kaniko') {
|
container('kaniko') {
|
||||||
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:v3.13.0 --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:v3.13 --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:0.1'
|
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:v3.13.0 --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:v3.13 --destination=harbor.ervine.dev/public/x86_64/alpine/hockey-dev:0.1'
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user