#
Some checks failed
FHIR IG CI/CD Pipeline with Version Persistence / build-ig (push) Failing after 6m33s
FHIR IG CI/CD Pipeline with Version Persistence / deploy (push) Has been skipped

This commit is contained in:
2026-03-07 21:42:57 +06:00
parent c2e7119335
commit c35bc8e8a4

View File

@@ -289,7 +289,7 @@ jobs:
data = json.load(f)
versions = [v["version"] for v in data["list"] if v["version"] != "current"]
print(versions[0] if versions else "")
print(versions[1] if len(versions) > 1 else "")
PY
)
@@ -319,12 +319,18 @@ jobs:
echo "Building FHIR IG version ${{ steps.version.outputs.version }}..."
CONTAINER_ID=$(docker create \
-v $(pwd)/previous-packages:/tmp/build/previous-packages \
-v $(pwd)/previous-packages:/previous-packages \
hl7fhir/ig-publisher-base:latest \
/bin/bash -c "cp -r /home/publisher/ig /tmp/build && \
cd /tmp/build && \
_updatePublisher.sh -y && \
_genonce.sh")
/bin/bash -c "
mkdir -p /tmp/build
cp -r /home/publisher/ig /tmp/build/ig
cd /tmp/build/ig
_updatePublisher.sh -y
_genonce.sh
")
echo "Container ID: $CONTAINER_ID"