Skip to content

Commit 142abd1

Browse files
committed
fixup! fixup! fixup! fixup! using a go script to test update
1 parent 78d628f commit 142abd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/testtools/deb_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func TestStableToUnstable(t *testing.T) {
3030
buildDebVersion(t, majorTag, *arch)
3131

3232
fmt.Println("**** BUILD docker image *****")
33-
buildDockerImage(t, "internal/testtools/test.Dockerfile", "apt-test-update-image", *arch)
33+
buildDockerImage(t, "test.Dockerfile", "apt-test-update-image", *arch)
3434
fmt.Println("**** RUN docker image *****")
3535
runDockerCommand(t, "apt-test-update-image")
3636
preUpdateVersion := runDockerSystemVersion(t, "apt-test-update")
@@ -173,7 +173,7 @@ func minorTag(t *testing.T, tag string) string {
173173
func buildDockerImage(t *testing.T, dockerfile, name, arch string) {
174174
t.Helper()
175175

176-
cmd := exec.Command("docker", "build", "--build-arg", "ARCH="+arch, "-t", name, "-f", dockerfile, ".")
176+
cmd := exec.Command("docker", "build", "--no-cache", "--build-arg", "ARCH="+arch, "-t", name, "-f", dockerfile, ".")
177177

178178
// Capture both stdout and stderr
179179
var out bytes.Buffer

0 commit comments

Comments
 (0)