mirror of https://github.com/langgenius/dify.git
fix: using dockerx
This commit is contained in:
parent
21d3555657
commit
c9e8c5b942
|
|
@ -46,7 +46,7 @@ EOF
|
|||
# Build image
|
||||
#
|
||||
cd api
|
||||
docker build \
|
||||
docker buildx build \
|
||||
${API_CACHE_FROM_SCRIPT} \
|
||||
--platform=linux/amd64,linux/arm64,linux/arm/v7 \
|
||||
--build-arg COMMIT_SHA=${SHA} \
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@ jobs:
|
|||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ EOF
|
|||
# Build image
|
||||
#
|
||||
cd web
|
||||
docker build \
|
||||
docker buildx build \
|
||||
${WEB_CACHE_FROM_SCRIPT} \
|
||||
--build-arg COMMIT_SHA=${SHA} \
|
||||
--platform=linux/amd64,linux/arm64,linux/arm/v7 \
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@ jobs:
|
|||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in New Issue