mirror of https://github.com/milvus-io/milvus.git
Remove cache volumes on gdbserver container
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>pull/4973/head^2
parent
4e8efe85df
commit
ad089eafe5
|
@ -37,10 +37,15 @@ jobs:
|
|||
- name: Get version from system time after release step
|
||||
id: extracter
|
||||
run: echo "::set-output name=version::$(date +%Y%m%d-%H%M%S)"
|
||||
- name: Docker Pull
|
||||
shell: bash
|
||||
run: |
|
||||
DATE_VERSION=latest docker-compose pull --ignore-pull-failures ubuntu
|
||||
- name: Docker Build
|
||||
shell: bash
|
||||
run: |
|
||||
DATE_VERSION=${{ steps.extracter.outputs.version }} docker-compose build ubuntu
|
||||
DATE_VERSION=latest docker-compose build ubuntu
|
||||
- name: Docker Push
|
||||
if: success() && github.event_name == 'push' && github.repository == 'zilliztech/milvus-distributed'
|
||||
continue-on-error: true
|
||||
|
@ -49,3 +54,4 @@ jobs:
|
|||
docker login -u ${{ secrets.DOCKERHUB_USER }} \
|
||||
-p ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
DATE_VERSION=${{ steps.extracter.outputs.version }} docker-compose push ubuntu
|
||||
DATE_VERSION=latest docker-compose push ubuntu
|
||||
|
|
|
@ -37,12 +37,9 @@ services:
|
|||
security_opt: # options needed for gdb debugging
|
||||
- seccomp:unconfined
|
||||
- apparmor:unconfined
|
||||
environment:
|
||||
<<: *ccache
|
||||
volumes:
|
||||
- .:/go/src/github.com/zilliztech/milvus-distributed:delegated
|
||||
- ${DOCKER_VOLUME_DIRECTORY:-.docker}/${ARCH}-ubuntu${UBUNTU}-gdbserver-home:/home/debugger:delegated
|
||||
- ${DOCKER_VOLUME_DIRECTORY:-.docker}/${ARCH}-ubuntu${UBUNTU}-gdbserver-cache:/ccache:delegated
|
||||
container_name: debugger
|
||||
entrypoint: ["/usr/sbin/sshd", "-D"]
|
||||
ports:
|
||||
|
|
Loading…
Reference in New Issue