Compare commits

...

5 Commits

Author SHA1 Message Date
Yoan.liu
a68feda29c
Merge pull request #475 from fudiwei/next
Reconfigure Github Actions for Docker Image CI
2025-03-03 21:48:24 +08:00
Fu Diwei
579c411900 build: config github actions workflow 2025-03-02 23:55:30 +08:00
RHQYZ
699f847d4a
Merge branch 'usual2970:next' into next 2025-03-02 23:31:26 +08:00
Fu Diwei
14ce139135 Merge branch 'next' of https://github.com/fudiwei/certimate into next 2025-03-02 00:29:16 +08:00
Fu Diwei
1745907bcb update README 2025-03-02 00:29:04 +08:00
3 changed files with 13 additions and 16 deletions

View File

@ -1,15 +1,17 @@
name: Docker Image CI
name: Docker Image CI (stable versions)
on:
push:
tags:
- "*-beta"
- "v[0-9]*"
- "!v*alpha*"
- "!v*beta*"
workflow_dispatch:
inputs:
tag:
description: "Tag version to be used for Docker image"
required: true
default: "v0.1.9"
default: "latest"
jobs:
build-and-push:
@ -35,14 +37,12 @@ jobs:
- name: Log in to DOCKERHUB
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Log in to ALIYUNCS
uses: docker/login-action@v3
with:
registry: registry.cn-shanghai.aliyuncs.com
username: ${{ secrets.DOCKER_USERNAME }}
@ -56,4 +56,3 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}

View File

@ -1,15 +1,16 @@
name: Next Docker Image CI
name: Docker Image CI (preview versions)
on:
push:
tags:
- "*-alpha*"
- "v[0-9]*-alpha*"
- "v[0-9]*-beta*"
workflow_dispatch:
inputs:
tag:
description: "Tag version to be used for Docker image"
required: true
default: "v0.1.9"
default: "next"
jobs:
build-and-push:
@ -39,14 +40,12 @@ jobs:
- name: Log in to DOCKERHUB
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Log in to ALIYUNCS
uses: docker/login-action@v3
with:
registry: registry.cn-shanghai.aliyuncs.com
username: ${{ secrets.DOCKER_USERNAME }}
@ -60,4 +59,3 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}

View File

@ -1,9 +1,9 @@
name: basebuild
name: Base Build
on:
push:
tags:
- "*"
- "v[0-9]*"
jobs:
goreleaser:
@ -22,9 +22,9 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ">=1.22.5"
go-version: ">=1.23.0"
- name: Build Admin dashboard UI
- name: Build WebUI
run: npm --prefix=./ui ci && npm --prefix=./ui run build
- name: Run GoReleaser