mirror of
https://github.com/logos-messaging/nim-chat-poc.git
synced 2026-07-16 13:29:32 +00:00
build: update Docker image and scripts for v2 branches
This commit is contained in:
parent
a018b24db6
commit
6a90c01668
6
.github/Dockerfile.sim
vendored
6
.github/Dockerfile.sim
vendored
@ -35,7 +35,7 @@ RUN ARCH=$(uname -m | sed 's/arm64/aarch64/') && \
|
||||
|
||||
RUN source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && \
|
||||
cd /root && \
|
||||
git clone -b feat/mix-rln-gifter-sim https://github.com/logos-co/logos-lez-rln.git && \
|
||||
git clone -b feat/eip191-gifter-auth https://github.com/logos-co/logos-lez-rln.git && \
|
||||
cd logos-lez-rln && \
|
||||
git submodule update --init && \
|
||||
(cd logos-delivery-module && git submodule update --init --recursive)
|
||||
@ -99,7 +99,7 @@ RUN cd /root/logos-lez-rln/lez-rln && \
|
||||
|
||||
RUN source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && \
|
||||
cd /root && \
|
||||
git clone -b feat/logos-delivery https://github.com/adklempner/logos-chat.git && \
|
||||
git clone -b feat/sim-rln-gifter-auth-v2 https://github.com/logos-messaging/logos-chat.git && \
|
||||
cd logos-chat && \
|
||||
git submodule update --init --depth 1 && \
|
||||
(cd vendor/nwaku && git submodule update --init --recursive --depth 1) && \
|
||||
@ -110,7 +110,7 @@ RUN source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && \
|
||||
|
||||
RUN source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && \
|
||||
cd /root && \
|
||||
git clone -b feat/logos-delivery https://github.com/adklempner/logos-chat-module.git && \
|
||||
git clone -b feat/logos-delivery-v2 https://github.com/adklempner/logos-chat-module.git && \
|
||||
cd logos-chat-module && nix build 2>&1 | tail -5
|
||||
|
||||
# --- Package runtime closure ---
|
||||
|
||||
@ -20,8 +20,8 @@ ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
||||
DOCKERFILE="$ROOT/.github/Dockerfile.sim"
|
||||
IMAGE_NAME="${DOCKER_IMAGE:-ghcr.io/adklempner/logos-chat-sim:latest}"
|
||||
CONTAINER_NAME="logos-chat-sim-run"
|
||||
BRANCH="${BRANCH:-feat/logos-delivery}"
|
||||
REPO_URL="${REPO_URL:-https://github.com/adklempner/logos-chat.git}"
|
||||
BRANCH="${BRANCH:-feat/sim-rln-gifter-auth-v2}"
|
||||
REPO_URL="${REPO_URL:-https://github.com/logos-messaging/logos-chat.git}"
|
||||
|
||||
# Build image if it doesn't exist or REBUILD_IMAGE=1
|
||||
if [ "${REBUILD_IMAGE:-0}" = "1" ]; then
|
||||
|
||||
@ -13,7 +13,7 @@ set -euo pipefail
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
CHAT_MODULE_DIR="${CHAT_MODULE_DIR:-$ROOT/../logos-chat-module}"
|
||||
CHAT_MODULE_REPO="${CHAT_MODULE_REPO:-git@github.com:adklempner/logos-chat-module.git}"
|
||||
CHAT_MODULE_BRANCH="${CHAT_MODULE_BRANCH:-feat/logos-delivery}"
|
||||
CHAT_MODULE_BRANCH="${CHAT_MODULE_BRANCH:-feat/logos-delivery-v2}"
|
||||
|
||||
log() { echo "[$(date '+%H:%M:%S')] $*"; }
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user