changed kaniko stage to add dns resolv
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -93,6 +93,9 @@ pipeline {
|
||||
usernameVariable: 'GITEA_USER',
|
||||
passwordVariable: 'GITEA_TOKEN')]) {
|
||||
sh '''
|
||||
# WORKAROUND: Dem Container beibringen, wer git.example.com ist
|
||||
echo "130.61.26.230 git.example.com" >> /etc/hosts
|
||||
|
||||
# Erstellt die Docker-Konfiguration für Kaniko
|
||||
# Das $(echo ...) Kommando kombiniert User und Token für den Login
|
||||
echo "{\\"auths\\":{\\"130.61.26.230:30080\\":{\\"auth\\":\\"\$(echo -n \${GITEA_USER}:\${GITEA_TOKEN} | base64)\\"}}}" > /kaniko/.docker/config.json
|
||||
|
||||
@@ -13,7 +13,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("MyHelloWorld.Tests")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+942cc3f2cf18be339a700e881c371dd368773eea")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+2a2cda83516ce65663761989b33a809969a5a453")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("MyHelloWorld.Tests")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("MyHelloWorld.Tests")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
@@ -1 +1 @@
|
||||
0a20ce78a6374bdedd3e2eecf6917425b5dfc4903832b7092a1731e7d9f97dae
|
||||
848ea101e6b9dce5b48f1bd51dc9674bd80f476562e7a438fd7f5aafc5724865
|
||||
|
||||
Reference in New Issue
Block a user