Skip to content

Commit 3b93df1

Browse files
committed
feat: add hami core dev workflow
1 parent 37383d5 commit 3b93df1

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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

0 commit comments

Comments
 (0)