镜像自地址
https://github.com/devcm-repo/container-images.git
已同步 2026-06-06 04:21:06 +00:00
feat(images): submit images
这个提交包含在:
@@ -1,3 +1,15 @@
|
||||
name: Release Charts
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- release-*
|
||||
|
||||
jobs:
|
||||
release:
|
||||
permissions:
|
||||
contents: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v3
|
||||
@@ -5,17 +17,17 @@ steps:
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }} # 配置dockerhub的认证,在Github项目主页 【Settings】 -> 【Secrets】 添加对应变量
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Extract metadata (tags, labels) for Docker
|
||||
id: meta
|
||||
uses: docker/metadata-action@v3 # 抽取项目信息,主要是镜像的tag
|
||||
uses: docker/metadata-action@v3
|
||||
with:
|
||||
images: kkkk24/chatgpt_academic
|
||||
images: devcm/
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v4 # docker build & push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
|
||||
在新议题中引用
屏蔽一个用户