diff --git a/ansible/roles/peam/defaults/main.yml b/ansible/roles/peam/defaults/main.yml index 8b73f08..4f431f0 100644 --- a/ansible/roles/peam/defaults/main.yml +++ b/ansible/roles/peam/defaults/main.yml @@ -3,5 +3,5 @@ # Note: These are fallback defaults. Actual values are extracted from client-cmds/peam-cmd.sh # in the tasks/main.yml file. These defaults are used if extraction fails. -peam_docker_image: "ghcr.io/malik672/peam:sha-f11c8d1" +peam_docker_image: "ghcr.io/malik672/peam:latest" deployment_mode: docker # docker or binary diff --git a/ansible/roles/peam/tasks/main.yml b/ansible/roles/peam/tasks/main.yml index 0c96a65..faa4c1d 100644 --- a/ansible/roles/peam/tasks/main.yml +++ b/ansible/roles/peam/tasks/main.yml @@ -22,7 +22,7 @@ - name: Set docker image and deployment mode from client-cmd.sh set_fact: - peam_docker_image: "{{ peam_docker_image_raw.stdout | trim | default('ghcr.io/malik672/peam:sha-f11c8d1') }}" + peam_docker_image: "{{ peam_docker_image_raw.stdout | trim | default('ghcr.io/malik672/peam:latest') }}" deployment_mode: "{{ peam_deployment_mode_raw.stdout | trim | default('docker') }}" - name: Extract node configuration from validator-config.yaml diff --git a/client-cmds/peam-cmd.sh b/client-cmds/peam-cmd.sh index 61ba7c4..b0de40e 100644 --- a/client-cmds/peam-cmd.sh +++ b/client-cmds/peam-cmd.sh @@ -3,7 +3,7 @@ #-----------------------peam setup---------------------- binary_path="$scriptDir/../Peam/target/release/peam" -default_peam_docker_image="ghcr.io/malik672/peam:sha-f11c8d1" +default_peam_docker_image="ghcr.io/malik672/peam:latest" peam_docker_image="${PEAM_DOCKER_IMAGE:-$default_peam_docker_image}" runtime_config_host="$dataDir/$item/peam.conf" runtime_config_container="/data/peam.conf" @@ -83,7 +83,7 @@ if [ -d "$hash_sig_keys_dir" ]; then validator_keys_flag_container="--validator-keys /config/hash-sig-keys" fi -node_docker="ghcr.io/malik672/peam:sha-f11c8d1 \ +node_docker="ghcr.io/malik672/peam:latest \ --run \ --config $runtime_config_container \ --data-dir /data \ @@ -94,7 +94,7 @@ node_docker="ghcr.io/malik672/peam:sha-f11c8d1 \ $checkpoint_sync_flag" if [ -n "${PEAM_DOCKER_IMAGE:-}" ]; then - node_docker="${peam_docker_image}${node_docker#"ghcr.io/malik672/peam:sha-f11c8d1"}" + node_docker="${peam_docker_image}${node_docker#"ghcr.io/malik672/peam:latest"}" fi node_setup="docker"