File tree Expand file tree Collapse file tree 2 files changed +23
-6
lines changed
Expand file tree Collapse file tree 2 files changed +23
-6
lines changed Original file line number Diff line number Diff line change @@ -3,29 +3,46 @@ name: release-docker
33on :
44 push :
55 branches :
6+ - ' main'
67 - ' develop'
78 - ' docker'
89
910jobs :
11+
1012 docker :
13+
1114 runs-on : ubuntu-latest
15+
1216 steps :
1317 - name : Set up QEMU
14- uses : docker/setup-qemu-action@v1
18+ uses : docker/setup-qemu-action@v2
19+
1520 - name : Set up Docker Buildx
1621 uses : docker/setup-buildx-action@v1
22+
1723 - name : Login to DockerHub
18- uses : docker/login-action@v1
24+ uses : docker/login-action@v2
1925 with :
2026 username : ${{ secrets.DOCKERHUB_USERNAME }}
2127 password : ${{ secrets.DOCKERHUB_TOKEN }}
22- - uses : actions/checkout@v3
28+
29+ - name : Check out the repo
30+ uses : actions/checkout@v3
31+
32+ - name : Extract metadata (tags, labels) for Docker Hub
33+ id : meta_dockerhub
34+ uses : docker/metadata-action@v4
35+ with :
36+ images : " openml/openml-python"
37+
2338 - name : Build and push
2439 id : docker_build
25- uses : docker/build-push-action@v2
40+ uses : docker/build-push-action@v4
2641 with :
2742 context : ./docker/
2843 push : true
29- tags : openml/openml-python:latest
44+ tags : ${{ steps.meta_dockerhub.outputs.tags }}
45+ labels : ${{ steps.meta_dockerhub.outputs.labels }}
46+
3047 - name : Image digest
3148 run : echo ${{ steps.docker_build.outputs.digest }}
Original file line number Diff line number Diff line change 11# Dockerfile to build an image with preinstalled dependencies
22# Useful building docs or running unix tests from a Windows host.
3- FROM python:3
3+ FROM python:3.10
44
55RUN git clone https://github.com/openml/openml-python.git omlp
66WORKDIR omlp
You can’t perform that action at this time.
0 commit comments