From 54d8907ebbff15dc030605bb3f8934d510689c58 Mon Sep 17 00:00:00 2001 From: Kegan Myers Date: Sun, 23 Jul 2023 15:01:49 -0500 Subject: [PATCH] fix docker build command to use built image; remote old reference to final image --- .build.sh | 0 build.sh | 5 ++--- 2 files changed, 2 insertions(+), 3 deletions(-) mode change 100644 => 100755 .build.sh diff --git a/.build.sh b/.build.sh old mode 100644 new mode 100755 diff --git a/build.sh b/build.sh index d20f519..f9416cb 100755 --- a/build.sh +++ b/build.sh @@ -2,9 +2,7 @@ set -Eeuxo pipefail AKKOMA_COMMIT="dd17e0353a9efd66b19803d066ec45fa7d155886" -LOCAL_COMMIT=$(git rev-parse HEAD) -AKKOMA_BASE_IMAGE="registry.nrd.li/nrdli/akkoma-base:${AKKOMA_COMMIT}" -AKKOMA_FINAL_IMAGE="registry.nrd.li/nrdli/akkoma:${LOCAL_COMMIT}" +AKKOMA_BASE_IMAGE="registry.nrd.li/nrdli/akkoma:${AKKOMA_COMMIT}" # clone akkoma source code if [ -d akkoma ]; then @@ -33,5 +31,6 @@ docker run --rm \ -v "$(pwd)/prod.secret.exs:/config/prod.secret.exs" \ -v "$(pwd)/.build.sh:/build.sh" \ --entrypoint "" \ + "${AKKOMA_BASE_IMAGE}" \ /build.sh # docker push "${AKKOMA_FINAL_IMAGE}"