Skip to content

Commit 46ff4f8

Browse files
authored
Fix tag evaluation when building docker images on GH actions (#303)
1 parent 4967abc commit 46ff4f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/docker-bake.hcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ function "eval_tags" {
2525
equal("", github_repo) ? image_name : "",
2626
equal("", github_repo) && notequal("", commit_sha) ? "${image_name}:${commit_sha}" : "",
2727
// otherwise, we are building on GitHub Actions
28-
notequal("", github_repo) ? "ghcr.io/${github_repo}/${image_name}:latest" : "",
29-
notequal("", github_repo) && notequal("", commit_sha) ? "ghcr.io/${github_repo}:${commit_sha}" : ""
28+
notequal("", github_repo) ? "ghcr.io/memristor/${image_name}:latest" : "",
29+
notequal("", github_repo) && notequal("", commit_sha) ? "ghcr.io/memristor/${image_name}:${commit_sha}" : ""
3030
]
3131
}
3232

0 commit comments

Comments
 (0)