Skip to content

Commit 69a4c87

Browse files
Dont use arch in container image tag:
The service containers we build shouldnt use arch in the tags. This way the same tag will have mulitple archs at the registry layer. Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
1 parent 3dd5735 commit 69a4c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bash/hook-lk-containers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function build_hook_linuxkit_container() {
1818
container_files_hash="$(find "${container_dir}" -type f -print | LC_ALL=C sort | xargs sha256sum | sha256sum | cut -d' ' -f1)"
1919
declare container_files_hash_short="${container_files_hash:0:8}"
2020

21-
declare container_oci_ref="${HOOK_LK_CONTAINERS_OCI_BASE}${container_dir}:${container_files_hash_short}-${DOCKER_ARCH}"
21+
declare container_oci_ref="${HOOK_LK_CONTAINERS_OCI_BASE}${container_dir}:${container_files_hash_short}"
2222
log info "Consider building LK container ${container_oci_ref} from ${container_dir} for platform ${DOCKER_ARCH}"
2323
output_var="${container_oci_ref}" # the the name reference
2424
echo "${output_var}" > /dev/null # no-op; just to avoid shellcheck SC2034 (unused var; but it is actually a bash nameref)

0 commit comments

Comments
 (0)