Update 'build-alpine.jenkins'

This commit is contained in:
Hyatt 2021-05-22 19:25:17 +00:00
parent f29e475e62
commit 96cf505bc7

View File

@ -70,7 +70,7 @@ RUN printf '%s\\n' "-----BEGIN CERTIFICATE-----" \\
"""
writeFile(file: workspace + "/" + caName, text: caContent)
writeFile(file: workspace + "/Dockerfile", text: DF)
sh "/kaniko/executor --cleanup --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/nhyatt/alpine:latest\""
sh "/kaniko/executor --cleanup --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/library/alpine:latest\""
}
}
}