Compare commits

...

2 Commits

Author SHA1 Message Date
Austin-152 feab01e319
Merge 337ea4c58c into 92025e3598 2025-07-12 12:23:04 +08:00
Austin-152 337ea4c58c
Update build.yml 2025-05-15 11:19:15 +01:00
1 changed files with 6 additions and 2 deletions

View File

@ -38,6 +38,8 @@ jobs:
with:
lfs: true
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# Use docker to build current directory ./Dockfile
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
@ -48,5 +50,7 @@ jobs:
- 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 buildx build \
--platform linux/amd64,linux/arm64 \
--tag ghcr.io/anduin2017/how-to-cook:latest \
--push .