File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : publish Docker images
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build_and_push_to_registry :
9+ name : Push Docker image to Docker Hub
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Check out the repo
13+ uses : actions/checkout@v2
14+ with :
15+ ref : master
16+
17+ - name : Log in to Docker Hub
18+ uses : docker/login-action@v1
19+ with :
20+ username : ${{ secrets.DOCKERHUB_USERNAME }}
21+ password : ${{ secrets.DOCKERHUB_TOKEN }}
22+
23+ - name : Build and push latest tag
24+ uses : docker/build-push-action@v2
25+ with :
26+ file : ./docker/eolearn.dockerfile
27+ push : true
28+ tags : sentinelhub/eolearn:latest
29+
30+ - name : Build and push latest-examples tag
31+ uses : docker/build-push-action@v2
32+ with :
33+ file : ./docker/eolearn-examples.dockerfile
34+ push : true
35+ tags : sentinelhub/eolearn:latest-examples
36+
37+ - name : Update Docker Hub description and readme
38+ uses : peter-evans/dockerhub-description@v2
39+ with :
40+ username : ${{ secrets.DOCKERHUB_USERNAME }}
41+ password : ${{ secrets.DOCKERHUB_PASSWORD }}
42+ repository : sentinelhub/eolearn
43+ short-description : " Official eo-learn Docker images with Jupyter notebook"
44+ readme-filepath : ./README.md
You can’t perform that action at this time.
0 commit comments