Skip to content

Commit 8a972a4

Browse files
committed
feat: add docker dev ci
1 parent 886d7e8 commit 8a972a4

File tree

3 files changed

+44
-6
lines changed

3 files changed

+44
-6
lines changed

.github/workflows/docker_dev.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: docker_dev
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- release/*
7+
8+
9+
jobs:
10+
artifacts:
11+
name: docker_dev
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
with:
16+
submodules: true
17+
-
18+
name: Set up QEMU
19+
uses: docker/setup-qemu-action@v2
20+
-
21+
name: Set up Docker Buildx
22+
uses: docker/setup-buildx-action@v2
23+
-
24+
name: Login to ali registry
25+
uses: docker/login-action@v2
26+
with:
27+
registry: registry.cn-hangzhou.aliyuncs.com
28+
username: ${{ secrets.DOCKERHUB_USERNAME }}
29+
password: ${{ secrets.DOCKERHUB_TOKEN }}
30+
-
31+
name: Build and push
32+
uses: docker/build-push-action@v4
33+
with:
34+
context: .
35+
push: true
36+
file: ./Dockerfile.dev
37+
tags: registry.cn-hangzhou.aliyuncs.com/pivot_studio/pivot_lang_dev:latest

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ on:
44
branches:
55
- master
66
- release/*
7-
7+
paths:
8+
- '**.rs'
9+
- '**/Cargo.*'
10+
- '.github/workflows/release.yml'
11+
- '**.pi'
12+
- '**/Kagari.*'
13+
- 'codecov.yml'
814

915
jobs:
1016
artifacts:

bors.toml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)