1
0
镜像自地址 https://github.com/devcm-repo/container-images.git 已同步 2026-06-06 05:51:06 +00:00

feat(images): submit images

这个提交包含在:
2024-06-24 18:11:41 +08:00
未验证
父节点 c281999c49
当前提交 b5656353b0
+17 -5
查看文件
@@ -1,21 +1,33 @@
steps: name: Release Charts
on:
push:
tags:
- release-*
jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Check out the repo - name: Check out the repo
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Log in to Docker Hub - name: Log in to Docker Hub
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} # 配置dockerhub的认证,在Github项目主页 【Settings】 -> 【Secrets】 添加对应变量 username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker - name: Extract metadata (tags, labels) for Docker
id: meta id: meta
uses: docker/metadata-action@v3 # 抽取项目信息,主要是镜像的tag uses: docker/metadata-action@v3
with: with:
images: kkkk24/chatgpt_academic images: devcm/
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v4 # docker build & push uses: docker/build-push-action@v4
with: with:
context: . context: .
push: true push: true