diff --git a/build-darkice.jenkins b/build-darkice.jenkins index 149bd54..1317735 100644 --- a/build-darkice.jenkins +++ b/build-darkice.jenkins @@ -26,7 +26,7 @@ pipeline { steps { script { workspace = pwd() - dockerFile = """FROM --platform=linux/arm/v8 ${repository}/dockerhub/arm64v8/debian:latest as builder + dockerFile = """FROM --platform=linux/arm64/v8 ${repository}/dockerhub/arm64v8/debian:latest as builder RUN apt-get update \\ && apt-get --no-install-recommends --yes install ca-certificates curl build-essential tar pkg-config alsa-utils lame libmp3lame-dev libpulse-dev libjack-jackd2-dev libaudio-dev libasound2-dev libshout3-dev libmp3lame-dev \\ @@ -36,7 +36,7 @@ RUN apt-get update \\ && ./configure CXXFLAGS="-std=c++11" --with-pulseaudio --with-lame --with-alsa --with-jack \\ && make -FROM --platform=linux/arm/v8 ${repository}/dockerhub/arm64v8/debian:latest +FROM --platform=linux/arm64/v8 ${repository}/dockerhub/arm64v8/debian:latest LABEL org.opencontainers.image.authors="The_Spider " LABEL org.opencontainers.image.title="darkice" @@ -61,7 +61,7 @@ ENTRYPOINT [ "/bin/bash", "-c", "/usr/local/bin/darkice" ] )]) { sh "set +x; printf '{\"auths\":{\"%s\":{\"auth\": \"%s\"}}}' \"registry.c.test-chamber-13.lan\" \"${dcreds.bytes.encodeBase64().toString()}\" > /kaniko/.docker/config.json" } - sh "/kaniko/executor --force --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"registry.c.test-chamber-13.lan/library/darkice:latest\" --custom-platform \"linux/arm/v8\"" + sh "/kaniko/executor --force --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"registry.c.test-chamber-13.lan/library/darkice:latest\" --custom-platform \"linux/arm64/v8\"" } } }