mirror of
https://github.com/certd/certd.git
synced 2026-05-03 03:57:24 +08:00
发布镜像到 GitHub Packages @5aaee9
发布镜像到 GitHub Packages
This commit is contained in:
@@ -10,6 +10,7 @@ on:
|
|||||||
# - cron: '17 19 * * *'
|
# - cron: '17 19 * * *'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
packages: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-certd-image:
|
build-certd-image:
|
||||||
@@ -61,6 +62,13 @@ jobs:
|
|||||||
username: ${{ secrets.aliyun_cs_username }}
|
username: ${{ secrets.aliyun_cs_username }}
|
||||||
password: ${{ secrets.aliyun_cs_password }}
|
password: ${{ secrets.aliyun_cs_password }}
|
||||||
|
|
||||||
|
- name: Login to GitHub Packages
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
@@ -76,4 +84,5 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
registry.cn-shenzhen.aliyuncs.com/handsfree/certd-dev:latest
|
registry.cn-shenzhen.aliyuncs.com/handsfree/certd-dev:latest
|
||||||
greper/certd-dev:latest
|
greper/certd-dev:latest
|
||||||
|
ghcr.io/${{ github.repository }}:dev-latest
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ on:
|
|||||||
# - cron: '17 19 * * *'
|
# - cron: '17 19 * * *'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
packages: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-certd-image:
|
build-certd-image:
|
||||||
@@ -61,6 +62,13 @@ jobs:
|
|||||||
username: ${{ secrets.aliyun_cs_username }}
|
username: ${{ secrets.aliyun_cs_username }}
|
||||||
password: ${{ secrets.aliyun_cs_password }}
|
password: ${{ secrets.aliyun_cs_password }}
|
||||||
|
|
||||||
|
- name: Login to GitHub Packages
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
@@ -78,7 +86,8 @@ jobs:
|
|||||||
registry.cn-shenzhen.aliyuncs.com/handsfree/certd:${{steps.get_certd_version.outputs.result}}
|
registry.cn-shenzhen.aliyuncs.com/handsfree/certd:${{steps.get_certd_version.outputs.result}}
|
||||||
greper/certd:latest
|
greper/certd:latest
|
||||||
greper/certd:${{steps.get_certd_version.outputs.result}}
|
greper/certd:${{steps.get_certd_version.outputs.result}}
|
||||||
|
ghcr.io/${{ github.repository }}:latest
|
||||||
|
ghcr.io/${{ github.repository }}:${{steps.get_certd_version.outputs.result}}
|
||||||
# - name: Build armv7
|
# - name: Build armv7
|
||||||
# uses: docker/build-push-action@v6
|
# uses: docker/build-push-action@v6
|
||||||
# with:
|
# with:
|
||||||
|
|||||||
@@ -85,6 +85,8 @@ https://certd.handfree.work/
|
|||||||
* `https://hub.docker.com/r/greper/certd`
|
* `https://hub.docker.com/r/greper/certd`
|
||||||
* `greper/certd:latest`
|
* `greper/certd:latest`
|
||||||
* `greper/certd:armv7`、`greper/certd:[version]-armv7`
|
* `greper/certd:armv7`、`greper/certd:[version]-armv7`
|
||||||
|
* GitHub Packages地址:
|
||||||
|
* `ghcr.io/certd/certd:latest`
|
||||||
|
|
||||||
* 镜像构建通过`Actions`自动执行,过程公开透明,请放心使用
|
* 镜像构建通过`Actions`自动执行,过程公开透明,请放心使用
|
||||||
* [点我查看镜像构建日志](https://github.com/certd/certd/actions/workflows/build-image.yml)
|
* [点我查看镜像构建日志](https://github.com/certd/certd/actions/workflows/build-image.yml)
|
||||||
|
|||||||
Reference in New Issue
Block a user