Skip to content

Commit cdfb502

Browse files
authored
Merge pull request #318 from nullpluto/ci/docker-for-dev
ci: build docker image for dev branch
2 parents cd21e88 + 302d47d commit cdfb502

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build_docker_image.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- 'main'
7+
- 'dev'
78
tags:
89
- 'v*'
910

@@ -56,6 +57,8 @@ jobs:
5657
type=match,pattern=^v(\d{8}-\d+)$,group=1
5758
type=match,pattern=^v(\d{8})-\d+$,group=1
5859
type=raw,value=ci-{{commit_date 'YYYYMMDD-HHmmss' tz='Asia/Shanghai'}}-{{sha}},enable=${{ github.ref == 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/') }}
60+
type=raw,value=dev,enable=${{ github.ref == 'refs/heads/dev' && !startsWith(github.ref, 'refs/tags/') }}
61+
type=raw,value=dev-{{commit_date 'YYYYMMDD-HHmmss' tz='Asia/Shanghai'}}-{{sha}},enable=${{ github.ref == 'refs/heads/dev' && !startsWith(github.ref, 'refs/tags/') }}
5962
flavor: |
6063
latest=${{ github.ref == 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/') }}
6164

0 commit comments

Comments
 (0)