File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
2329docker pull ghcr.io/statisticsnorway/docker-rpython-base:latest # Image for use in GitHub Actions
2430docker 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
3350From the root of the repo:
3451
@@ -38,7 +55,7 @@ docker build -t ghcr.io/statisticsnorway/docker-rpython-base:1.0 .
3855docker push ghcr.io/statisticsnorway/docker-rpython-base:1.0
3956```
4057
41- ### Dev image
58+ #### Dev image
4259
4360From the root of the repo:
4461
You can’t perform that action at this time.
0 commit comments