mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2026-01-12 10:17:24 +08:00
Compare commits
4 Commits
39616979e5
...
b55e1fd7a4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b55e1fd7a4 | ||
|
|
35c933906a | ||
|
|
8ce28e9ff6 | ||
|
|
78c7f255ec |
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
@@ -3,6 +3,8 @@ name: Continuous Deployment
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-readme-file:
|
build-readme-file:
|
||||||
@@ -35,7 +37,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# Checkout, install tools..
|
# Checkout, install tools..
|
||||||
- uses: actions/checkout@v2
|
- 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
|
- name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
@@ -43,7 +50,12 @@ jobs:
|
|||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push the Docker image
|
# 构建并推送多架构Docker镜像
|
||||||
run: |
|
- name: Build and push multi-arch Docker image
|
||||||
docker build . --tag ghcr.io/anduin2017/how-to-cook:latest
|
uses: docker/build-push-action@v3
|
||||||
docker push ghcr.io/anduin2017/how-to-cook:latest
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
tags: |
|
||||||
|
ghcr.io/${{ github.repository }}:latest
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
指尖量水法 (用于精准确定米水量的方法)
|
指尖量水法 (用于精准确定米水量的方法)
|
||||||
|
|
||||||
* 江南米,米和水放在电饭煲的容器内,食指触及米时,水量能刚好没过食指的第一个指节的**一半的一半**。
|
* 江南米,米和水放在电饭煲的容器内,食指触及米时,水量能刚好没过食指的第一个指节又第二个指节 1/4 处(即大约 2.6 厘米)。
|
||||||
* 北方大米,米和水放在电饭煲的容器内,食指触及米,水量能刚好没过食指的第一个指节。
|
* 北方大米,米和水放在电饭煲的容器内,食指触及米,水量能刚好没过食指的第一个指节(即大约 2 厘米处)。
|
||||||
|
|
||||||
使用上述条件,计算出计划使用的原材料比例。
|
使用上述条件,计算出计划使用的原材料比例。
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user