chore(ci): release docker image
Cadoles/bouncer/pipeline/pr-develop Something is wrong with the build of this commit
Details
Cadoles/bouncer/pipeline/pr-develop Something is wrong with the build of this commit
Details
This commit is contained in:
parent
553513d647
commit
8221ea1600
|
@ -34,6 +34,7 @@ pipeline {
|
|||
anyOf {
|
||||
branch 'master'
|
||||
branch 'develop'
|
||||
branch 'ci-docker-release'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
|
@ -46,6 +47,9 @@ pipeline {
|
|||
])
|
||||
]) {
|
||||
sh 'make gitea-release'
|
||||
sh '''
|
||||
make docker-build docker-release
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,12 +7,22 @@ ARG https_proxy=
|
|||
|
||||
# Install dev environment dependencies
|
||||
RUN export DEBIAN_FRONTEND=noninteractive &&\
|
||||
apt clean &&\
|
||||
apt-get update -y &&\
|
||||
apt-get install -y --no-install-recommends curl ca-certificates build-essential wget unzip tar git jq
|
||||
apt-get install -y --no-install-recommends curl ca-certificates build-essential wget unzip tar git jq gnupg
|
||||
|
||||
# Add LetsEncrypt certificates
|
||||
RUN curl -k https://forge.cadoles.com/Cadoles/Jenkins/raw/branch/master/resources/com/cadoles/common/add-letsencrypt-ca.sh | bash
|
||||
|
||||
RUN install -m 0755 -d /etc/apt/keyrings \
|
||||
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg \
|
||||
&& chmod a+r /etc/apt/keyrings/docker.gpg \
|
||||
&& echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
|
||||
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" \
|
||||
| tee /etc/apt/sources.list.d/docker.list > /dev/null \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y docker-ce-cli
|
||||
|
||||
ARG GO_VERSION=1.20.4
|
||||
|
||||
# Install Go
|
||||
|
|
Loading…
Reference in New Issue