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}"