deploy: 78334e36520f884f012b56b1e84232c12f5aefb0

This commit is contained in:
jakubgs 2022-02-21 17:52:52 +00:00
parent dad3a1cb96
commit 00245163ae
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@
FROM alpine:3.12 AS nim-build
ARG NIM_PARAMS
ARG MAKE_TARGET=wakunode
ARG MAKE_TARGET=wakunode2
# Get build tools and required header files
RUN apk add --no-cache bash git rust cargo build-base pcre-dev linux-headers
@ -29,6 +29,7 @@ ARG MAKE_TARGET=wakunode2
LABEL maintainer="jakub@status.im"
LABEL source="https://github.com/status-im/nim-waku"
LABEL description="Wakunode: Waku and Whisper client"
LABEL commit="unknown"
# DevP2P, LibP2P, and JSON RPC ports
EXPOSE 30303 60000 8545

View File

@ -39,7 +39,8 @@ pipeline {
stage('Build') {
steps { script {
image = docker.build(
"${params.IMAGE_NAME}:${env.GIT_COMMIT.take(6)}",
"${params.IMAGE_NAME}:${env.GIT_COMMIT.take(8)}",
"--label=commit='${env.GIT_COMMIT.take(8)}' " +
"--build-arg=MAKE_TARGET='${params.MAKE_TARGET}' " +
"--build-arg=NIM_PARAMS='${params.NIM_PARAMS}' ."
)