fix docker build command to use built image; remote old reference to final image
This commit is contained in:
parent
a084b311b2
commit
54d8907ebb
5
build.sh
5
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}"
|
||||
|
|
Loading…
Reference in a new issue