mirror of
https://github.com/usual2970/certimate.git
synced 2025-07-09 12:39:57 +00:00
Compare commits
No commits in common. "a68feda29c8cca0b25e0c25f02438f91d7739a11" and "c370ac0609676a2f0a8cdff2f0af7b43c6cfac81" have entirely different histories.
a68feda29c
...
c370ac0609
11
.github/workflows/push_image.yml
vendored
11
.github/workflows/push_image.yml
vendored
@ -1,17 +1,15 @@
|
|||||||
name: Docker Image CI (stable versions)
|
name: Docker Image CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "v[0-9]*"
|
- "*-beta"
|
||||||
- "!v*alpha*"
|
|
||||||
- "!v*beta*"
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
tag:
|
tag:
|
||||||
description: "Tag version to be used for Docker image"
|
description: "Tag version to be used for Docker image"
|
||||||
required: true
|
required: true
|
||||||
default: "latest"
|
default: "v0.1.9"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
@ -37,12 +35,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Log in to DOCKERHUB
|
- name: Log in to DOCKERHUB
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||||
|
|
||||||
- name: Log in to ALIYUNCS
|
- name: Log in to ALIYUNCS
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
|
||||||
with:
|
with:
|
||||||
registry: registry.cn-shanghai.aliyuncs.com
|
registry: registry.cn-shanghai.aliyuncs.com
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
@ -56,3 +56,4 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
|
||||||
|
10
.github/workflows/push_image_next.yml
vendored
10
.github/workflows/push_image_next.yml
vendored
@ -1,16 +1,15 @@
|
|||||||
name: Docker Image CI (preview versions)
|
name: Next Docker Image CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "v[0-9]*-alpha*"
|
- "*-alpha*"
|
||||||
- "v[0-9]*-beta*"
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
tag:
|
tag:
|
||||||
description: "Tag version to be used for Docker image"
|
description: "Tag version to be used for Docker image"
|
||||||
required: true
|
required: true
|
||||||
default: "next"
|
default: "v0.1.9"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
@ -40,12 +39,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Log in to DOCKERHUB
|
- name: Log in to DOCKERHUB
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||||
|
|
||||||
- name: Log in to ALIYUNCS
|
- name: Log in to ALIYUNCS
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
|
||||||
with:
|
with:
|
||||||
registry: registry.cn-shanghai.aliyuncs.com
|
registry: registry.cn-shanghai.aliyuncs.com
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
@ -59,3 +60,4 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
|
||||||
|
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -1,9 +1,9 @@
|
|||||||
name: Base Build
|
name: basebuild
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "v[0-9]*"
|
- "*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
goreleaser:
|
goreleaser:
|
||||||
@ -22,9 +22,9 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ">=1.23.0"
|
go-version: ">=1.22.5"
|
||||||
|
|
||||||
- name: Build WebUI
|
- name: Build Admin dashboard UI
|
||||||
run: npm --prefix=./ui ci && npm --prefix=./ui run build
|
run: npm --prefix=./ui ci && npm --prefix=./ui run build
|
||||||
|
|
||||||
- name: Run GoReleaser
|
- name: Run GoReleaser
|
||||||
|
Loading…
x
Reference in New Issue
Block a user