利用MySQL ON DUPLICATE KEY UPDATE方法解决重复执行一些任务出现IntegrityError错误问题 #36
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
姓名:名称:Docker 镜像 CI | ||
on: | ||
push: | ||
branches: [ 分支:[“主”]"master" ] | ||
pull_request: | ||
branches: [ 分支:[“主”]"master" ] | ||
jobs: | ||
build: | ||
runs-on: 运行:ubuntu-latest | ||
steps: | ||
- uses: - 使用:actions/checkout@v3 | ||
- name: - 名称:构建 Docker 镜像 | ||
run: 运行: docker build 。--file Dockerfile --tag my-image-name:$(日期 +%s): $(日期 +%s) |