Skip to content

Commit 73dcaf5

Browse files
committed
update unpack-api README
- reorder sections. - use ghcr.io instead of gitlab registry
1 parent aac73b2 commit 73dcaf5

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

unpack-api/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,31 @@ This server then forwards that image, along with a pipeline trigger token, to an
1414
1. This API authenticates the Client (ensures the pipeline was ran from within a specific GitLab/GitHub instance).
1515
1. This API sends a request to a different workflow to unpack the image.
1616

17-
## Install
18-
19-
Using podman (or docker), run
17+
## Setup
2018

21-
```bash
22-
podman create -p 8000:8000 --env-file=.env --name unpack-api gitlab-registry.cern.ch/mfatouro/unpack-to-cvmfs/unpack-api:latest
23-
```
19+
### Configure
2420

25-
Otherwise, this package can be installed with
21+
Copy the sample configuration
2622

2723
```bash
28-
pip install .
24+
cp .env.sample .env
2925
```
3026

31-
## Setup
27+
Then open .env and set the values for your use case.
3228

33-
### Configure
29+
## Install
3430

35-
Copy the sample configuration
31+
Using podman (or docker), run
3632

3733
```bash
38-
cp .env.sample .env
34+
podman create -p 8000:8000 --env-file=.env --name unpack-api ghcr.io/cvmfs-contrib/cvmfs-unpack-api/unpack-api:main
3935
```
4036

41-
Then open .env and set the values for your use case.
37+
Otherwise, this package can be installed with
38+
39+
```bash
40+
pip install .
41+
```
4242

4343
### Run as a Service
4444

0 commit comments

Comments
 (0)