From 32b649e94aab673fa50570ab42fb2f35b2b63990 Mon Sep 17 00:00:00 2001 From: Juan Jose Medina Date: Tue, 16 Feb 2021 17:31:45 +0100 Subject: [PATCH] Removed extra trailing platform (#96) --- buildone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildone b/buildone index 38e533a..cebb24e 100755 --- a/buildone +++ b/buildone @@ -54,7 +54,7 @@ build() { [ -f "debootstrap/$DIST" ] || (echo "buildall: Unknown distribution: $DIST" && exit 1) current_ts="$(date -u +%Y-%m-%dT%H:%M:%S.%NZ)" - if docker pull "$BASENAME:$TAG-$PLATFORM" > /dev/null; then + if docker pull "$BASENAME:$TAG" > /dev/null; then target_ts="$(docker inspect "$BASENAME:$TAG" | jq --raw-output ".[0].Created")" pulled_image_id="$(docker inspect "$BASENAME:$TAG" | jq --raw-output ".[0].Id")" else