Skip to content

refactor(datasource): 移除数据源服务中的 JWT 解析代码 #46

refactor(datasource): 移除数据源服务中的 JWT 解析代码

refactor(datasource): 移除数据源服务中的 JWT 解析代码 #46

Workflow file for this run

name: Docker Build and Push
on:
push:
tags:
- 'v*' # 触发条件可以根据你的需求修改
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Login to Docker Hub
run: echo "${{ secrets.REPO_PASS }}" | docker login -u "${{ secrets.REPO }}" --password-stdin
- name: Build and push Docker image
run: |
chmod +x build_images.sh
./build_images.sh "${{ secrets.REPO }}"
curl -X POST -H "Content-Type: application/json" -d '{"msg_type":"text","content":{"text":"moon镜像打包完成"}}' ${{ secrets.HOOK }}
env:
REPO: ${{ secrets.REPO }}
REPO_PASS: ${{ secrets.REPO_PASS }}