mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-19 00:30:30 +02:00
Merge pull request #1285 from antechrestos/fix/image_argument_name
Added integration test for multi level argument
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
ARG A=3.9
|
||||
ARG B=alpine:${A}
|
||||
FROM ${B}
|
||||
@@ -306,7 +306,7 @@ func TestGitBuildcontextSubPath(t *testing.T) {
|
||||
|
||||
func TestBuildViaRegistryMirror(t *testing.T) {
|
||||
repo := getGitRepo()
|
||||
dockerfile := "integration/dockerfiles/Dockerfile_registry_mirror"
|
||||
dockerfile := fmt.Sprintf("%s/%s/Dockerfile_registry_mirror", integrationPath, dockerfilesPath)
|
||||
|
||||
// Build with docker
|
||||
dockerImage := GetDockerImage(config.imageRepo, "Dockerfile_registry_mirror")
|
||||
@@ -345,7 +345,7 @@ func TestBuildViaRegistryMirror(t *testing.T) {
|
||||
|
||||
func TestBuildWithLabels(t *testing.T) {
|
||||
repo := getGitRepo()
|
||||
dockerfile := "integration/dockerfiles/Dockerfile_test_label"
|
||||
dockerfile := fmt.Sprintf("%s/%s/Dockerfile_test_label", integrationPath, dockerfilesPath)
|
||||
|
||||
testLabel := "mylabel=myvalue"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user