Compare commits
2 Commits
c1d530f90c
...
feab01e319
Author | SHA1 | Date |
---|---|---|
|
feab01e319 | |
|
337ea4c58c |
|
@ -38,6 +38,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
# Use docker to build current directory ./Dockfile
|
# Use docker to build current directory ./Dockfile
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
|
@ -48,5 +50,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build and push the Docker image
|
- name: Build and push the Docker image
|
||||||
run: |
|
run: |
|
||||||
docker build . --tag ghcr.io/anduin2017/how-to-cook:latest
|
docker buildx build \
|
||||||
docker push ghcr.io/anduin2017/how-to-cook:latest
|
--platform linux/amd64,linux/arm64 \
|
||||||
|
--tag ghcr.io/anduin2017/how-to-cook:latest \
|
||||||
|
--push .
|
||||||
|
|
Loading…
Reference in New Issue