build.sh
author ymh <ymh.work@gmail.com>
Mon, 02 Feb 2026 18:27:25 +0100
changeset 1 f213403ee0c8
parent 0 2a447b707b65
permissions -rwxr-xr-x
New version platform
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
2a447b707b65 First commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
#!/usr/bin/env bash
2a447b707b65 First commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
2a447b707b65 First commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
2a447b707b65 First commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
2a447b707b65 First commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
pushd $SCRIPTPATH
2a447b707b65 First commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
1
f213403ee0c8 New version platform
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
     7
podman login -u iri -p "${REGISTRY_PASSWORD}" reg.quentin.srv.iri-research.org
0
2a447b707b65 First commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
1
f213403ee0c8 New version platform
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
     9
podman build -f docker/server/server.dockerfile -t reg.quentin.srv.iri-research.org/iri/ldt_server:latest .
0
2a447b707b65 First commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
1
f213403ee0c8 New version platform
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
    11
podman push reg.quentin.srv.iri-research.org/iri/ldt_server:latest
0
2a447b707b65 First commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
2a447b707b65 First commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
popd