Skip to content

Commit 2d4a95e

Browse files
authored
Merge pull request #7 from statisticsnorway/documentation
Update README
2 parents 1667ba9 + bbf8375 commit 2d4a95e

1 file changed

Lines changed: 21 additions & 4 deletions

File tree

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,34 @@ From GitHub:
1818
* ssb-metodebiblioteket
1919
* ssb-ssb-fellesr
2020

21+
## Releases
22+
23+
The docker images are published as GitHub Packages on
24+
[this page](https://github.com/statisticsnorway/docker-rpython/pkgs/container/docker-rpython-base).
25+
2126
## Usage
27+
2228
```shell
2329
docker pull ghcr.io/statisticsnorway/docker-rpython-base:latest # Image for use in GitHub Actions
2430
docker pull ghcr.io/statisticsnorway/docker-rpython-dev:latest # Latest dev-image
2531
```
2632

27-
docker pull
28-
2933
## Build docker images
3034

31-
### GitHub Action image (base)
35+
### Automatically
36+
37+
Both docker images are built and published when a tag starting with `v` is pushed
38+
to the repo. Example:
39+
40+
```shell
41+
git tag # List existing tags, pick the next one
42+
git tag -a v1.0.3 -m"Tagging docker image" # create new tag
43+
git push --tags
44+
```
45+
46+
### Manually
47+
48+
#### GitHub Action image (base)
3249

3350
From the root of the repo:
3451

@@ -38,7 +55,7 @@ docker build -t ghcr.io/statisticsnorway/docker-rpython-base:1.0 .
3855
docker push ghcr.io/statisticsnorway/docker-rpython-base:1.0
3956
```
4057

41-
### Dev image
58+
#### Dev image
4259

4360
From the root of the repo:
4461

0 commit comments

Comments
 (0)