Skip to content

Commit

Permalink
Merge pull request #3 from leap-stc/image-readme
Browse files Browse the repository at this point in the history
Build image only on releases + README section about docker
  • Loading branch information
jbusecke authored Nov 22, 2023
2 parents ec4071f + d8cad7b commit 134e4e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Build and push container image

on:
workflow_dispatch:
push:
branches:
- main
release:
types:
- published

jobs:
build-and-push:
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,9 @@ by learning key features in data-abundant regions and adapt them to fluxes in da

![Encoder workflow](https://github.com/juannat7/metaflux/blob/main/docs/encoder_workflow.png)
![Meta inference with context encoder](https://github.com/juannat7/metaflux/blob/main/docs/gpp_encoder_infer.jpeg)

## Custom Docker Image
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).

### Use custom image on LEAP-Pangeo Hub
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 comments on commit 134e4e1

Please sign in to comment.