Skip to content

Commit 134e4e1

Browse files
authored
Merge pull request #3 from leap-stc/image-readme
Build image only on releases + README section about docker
2 parents ec4071f + d8cad7b commit 134e4e1

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: Build and push container image
22

33
on:
4-
workflow_dispatch:
5-
push:
6-
branches:
7-
- main
4+
release:
5+
types:
6+
- published
87

98
jobs:
109
build-and-push:

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,9 @@ by learning key features in data-abundant regions and adapt them to fluxes in da
3333

3434
![Encoder workflow](https://github.com/juannat7/metaflux/blob/main/docs/encoder_workflow.png)
3535
![Meta inference with context encoder](https://github.com/juannat7/metaflux/blob/main/docs/gpp_encoder_infer.jpeg)
36+
37+
## Custom Docker Image
38+
We publish a Docker Image with every release of the package. The images are hosted on [quay.io](https://quay.io/repository/leap-stc/metaflux) You can find the image tags on [here](https://quay.io/repository/leap-stc/metaflux?tab=tags).
39+
40+
### Use custom image on LEAP-Pangeo Hub
41+
To use this image on the [LEAP-Pangeo Jupyterhub](https://leap-stc.github.io/leap-pangeo/jupyterhub.html) you can provide a [custom image url](https://leap-stc.github.io/leap-pangeo/jupyterhub.html#custom-images) as `quay.io/leap-stc/metaflux:ec4071f9797a`

0 commit comments

Comments
 (0)