Skip to content

Commit

Permalink
fix: move Dockerfile and build_docker.sh into docker subdirectory (Op…
Browse files Browse the repository at this point in the history
…enAtomFoundation#2458)

Co-authored-by: liuchengyu <liuchengyu@360.cn>
  • Loading branch information
chengyu-l and liuchengyu authored Mar 9, 2024
1 parent 50afef1 commit 17545a5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_nightly_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
with:
context: .
platforms: linux/amd64,linux/arm64
file: ./Dockerfile
file: ./docker/Dockerfile_pika
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_release_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
context: .
platforms: linux/amd64,linux/arm64
file: ./Dockerfile
file: ./docker/Dockerfile_pika
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions build_docker.sh → docker/build_pika_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ then
docker buildx use pika-builder
fi

docker buildx build --platform ${PLATFORM} -t ${TAG} --build-arg ENABLE_PROXY=${PROXY} .
docker buildx build --platform ${PLATFORM} -t ${TAG} -f Dockerfile_pika --build-arg ENABLE_PROXY=${PROXY} ..

else
# build single-arch image
docker build -t ${TAG} --build-arg ENABLE_PROXY=${PROXY} .
docker build -t ${TAG} -f Dockerfile_pika --build-arg ENABLE_PROXY=${PROXY} ..
fi


0 comments on commit 17545a5

Please sign in to comment.