Skip to content

Commit 1192ff9

Browse files
Switch to IBM Container Registry (Qiskit#1765)
We are switching from Dockerhub to Container Registry. The image is public and you do not need to set up anything specific; you only need normal Docker.
1 parent 9c64a0e commit 1192ff9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

start

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
import subprocess
1515
import sys
1616
from pathlib import Path
17-
from typing import Iterator
1817

1918
PWD = Path(__file__).parent
19+
IMAGE = "icr.io/qc-open-source-docs-public/preview:latest"
2020

2121

2222
def skip_apis() -> tuple[str]:
@@ -29,7 +29,7 @@ def skip_apis() -> tuple[str]:
2929
def main() -> None:
3030
print(
3131
"Warning: this may be using an outdated version of the app. Run "
32-
+ "`docker pull qiskit/documentation` to check for updates.",
32+
+ f"`docker pull {IMAGE}` to check for updates.",
3333
file=sys.stderr,
3434
)
3535
# Keep this aligned with the Dockerfile at the root of the repository.
@@ -46,7 +46,7 @@ def main() -> None:
4646
# Needed for ctrl-c to shut down the container.
4747
"--init",
4848
"--rm",
49-
"qiskit/documentation",
49+
IMAGE,
5050
]
5151
subprocess.run(cmd, check=True)
5252

0 commit comments

Comments
 (0)