mirror of
https://github.com/langgenius/dify.git
synced 2026-05-09 21:28:25 +08:00
fix: using dockerx
This commit is contained in:
parent
21d3555657
commit
c9e8c5b942
2
.github/workflows/build-api-image.sh
vendored
2
.github/workflows/build-api-image.sh
vendored
@ -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} \
|
||||
|
||||
3
.github/workflows/build-api-image.yml
vendored
3
.github/workflows/build-api-image.yml
vendored
@ -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:
|
||||
|
||||
2
.github/workflows/build-web-image.sh
vendored
2
.github/workflows/build-web-image.sh
vendored
@ -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 \
|
||||
|
||||
3
.github/workflows/build-web-image.yml
vendored
3
.github/workflows/build-web-image.yml
vendored
@ -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
Block a user