3 Commits

Author SHA1 Message Date
花菜
ebbc379a0b Merge 78c7f255ec into dddcc73014 2025-04-14 18:17:02 +02:00
Little stone
dddcc73014 Update 食品安全.md (#1432)
Some checks failed
Continuous Deployment / build-readme-file (push) Has been cancelled
Continuous Deployment / build-docker-image (push) Has been cancelled
2025-04-13 05:41:27 +00:00
花菜
78c7f255ec chore: 更新 GitHub Actions 工作流,添加 Docker Buildx 支持并构建多架构 Docker 镜像 2025-03-25 17:20:30 +00:00
2 changed files with 18 additions and 6 deletions

View File

@@ -3,6 +3,8 @@ name: Continuous Deployment
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build-readme-file:
@@ -35,7 +37,12 @@ jobs:
steps:
# Checkout, install tools..
- uses: actions/checkout@v2
# Use docker to build current directory ./Dockfile
# 设置Docker BuildX
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
# Login to GitHub Container Registry
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
@@ -43,7 +50,12 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push the Docker image
run: |
docker build . --tag ghcr.io/anduin2017/how-to-cook:latest
docker push ghcr.io/anduin2017/how-to-cook:latest
# 构建并推送多架构Docker镜像
- name: Build and push multi-arch Docker image
uses: docker/build-push-action@v3
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/${{ github.repository }}:latest

View File

@@ -9,7 +9,7 @@
* 发芽的土豆(山药)、番薯(红薯)、花生
* 未正确处理/未熟透的[黄花菜](https://zh.m.wikipedia.org/wiki/%E9%BB%84%E8%8A%B1%E8%8F%9C)可导致[秋水仙碱](https://zh.m.wikipedia.org/wiki/%E7%A7%8B%E6%B0%B4%E4%BB%99%E7%B4%A0)中毒
* 生豆浆
* 泡发时间过长的木耳
* 泡发时间过长的木耳(不止木耳,所有菌类泡发时间过长均有中毒风险)
* 未烹饪熟的动物内脏
* 不认识的蘑菇或者未煮熟的蘑菇(有句谚语说:红伞伞,白杆杆,吃完一起躺板板。一般来说,越是漂亮的蘑菇越危险。)
* ……(欢迎补充)