File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to Dockerhub ( hami-core-dev )
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ tags :
7+ description : ' Release Tags'
8+
9+ jobs :
10+ update_dockerhub :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Check out the repo
14+ uses : actions/checkout@v3
15+
16+ - name : Set up QEMU
17+ uses : docker/setup-qemu-action@v3
18+
19+ - name : Set up Docker Buildx
20+ id : buildx
21+ uses : docker/setup-buildx-action@v3
22+
23+ - name : Log in to Docker Hub
24+ uses : docker/login-action@v2
25+ with :
26+ username : ${{ secrets.DOCKERHUB_USERNAME }}
27+ password : ${{ secrets.DOCKERHUB_PASS }}
28+
29+ - name : Build and push Docker image
30+ uses : docker/build-push-action@v3
31+ with :
32+ push : true
33+ tags : beclab/hami-core-dev:${{ github.event.inputs.tags }}
34+ file : containers/Dockerfile.dev.cuda
35+ platforms : linux/amd64,linux/arm64
You can’t perform that action at this time.
0 commit comments