Skip to content

Commit e2cfe38

Browse files
authored
fix(ci): apko login mounting wrong auth dir (#1221)
1 parent e572392 commit e2cfe38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dagger/localartifactmirror.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func (m *EmbeddedCluster) PublishLocalArtifactMirrorImage(
7373
WithDirectory("packages", pkgBuild.Directory("packages"))
7474

7575
if m.RegistryAuth != nil {
76-
dir = dir.WithDirectory("/workspace/.docker", m.RegistryAuth)
76+
dir = dir.WithDirectory(".docker", m.RegistryAuth)
7777
}
7878

7979
publish := m.apkoPublish(

dagger/operator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func (m *EmbeddedCluster) PublishOperatorImage(
7373
WithDirectory("packages", pkgBuild.Directory("packages"))
7474

7575
if m.RegistryAuth != nil {
76-
dir = dir.WithDirectory("/workspace/.docker", m.RegistryAuth)
76+
dir = dir.WithDirectory(".docker", m.RegistryAuth)
7777
}
7878

7979
publish := m.apkoPublish(

0 commit comments

Comments
 (0)