Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-epsilla authored Oct 19, 2023
1 parent cb51288 commit f6d021c
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,20 @@ jobs:
mv buildx-v0.11.2.linux-amd64 $HOME/.docker/cli-plugins/docker-buildx
docker buildx create --use
docker buildx ls
docker buildx build --build-arg="RELEASE_VERSION=${IMAGE_TAG}" --push --platform linux/amd64,linux/arm64 -t ${DOCKER_HUB_REPOSITORY}:${IMAGE_TAG} -t ${DOCKER_HUB_REPOSITORY}:${IMAGE_TAG_LATEST} --label "org.opencontainers.image.version"=$IMAGE_TAG .
docker buildx build --build-arg="RELEASE_VERSION=${IMAGE_TAG}" \
--platform linux/amd64,linux/arm64 \
--label "org.opencontainers.image.description"="Official Epsilla Vector Database Image" \
--label "org.opencontainers.image.documentation"="https://epsilla-inc.gitbook.io/epsilladb" \
--label "org.opencontainers.image.source"="https://github.com/epsilla-cloud/vectordb" \
--label "org.opencontainers.image.title"="Epsilla Vector Database" \
--label "org.opencontainers.image.url"="https://www.epsilla.com" \
--label "org.opencontainers.image.vendor"="Epsilla" \
--label "org.opencontainers.image.version"=$IMAGE_TAG \
--push \
-t ${DOCKER_HUB_REPOSITORY}:${IMAGE_TAG} \
-t ${DOCKER_HUB_REPOSITORY}:${IMAGE_TAG_LATEST} .
Expand Down

0 comments on commit f6d021c

Please sign in to comment.