mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
Update publish-test-images.yaml (#5672)
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
This commit is contained in:
parent
3af56ce874
commit
0626e4ac48
8
.github/workflows/publish-test-images.yaml
vendored
8
.github/workflows/publish-test-images.yaml
vendored
@ -40,8 +40,8 @@ jobs:
|
|||||||
working-directory: tests/docker
|
working-directory: tests/docker
|
||||||
run: |
|
run: |
|
||||||
docker-compose pull --ignore-pull-failures pytest
|
docker-compose pull --ignore-pull-failures pytest
|
||||||
TAG=${{ steps.extracter.outputs.version }}-${{ steps.extracter.outputs.sha_short }} docker-compose build pytest
|
IMAGE_TAG=${{ steps.extracter.outputs.version }}-${{ steps.extracter.outputs.sha_short }} docker-compose build pytest
|
||||||
TAG=latest docker-compose build pytest
|
IMAGE_TAG=latest docker-compose build pytest
|
||||||
- name: Docker Push
|
- name: Docker Push
|
||||||
if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus'
|
if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus'
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
@ -50,6 +50,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker login -u ${{ secrets.DOCKERHUB_USER }} \
|
docker login -u ${{ secrets.DOCKERHUB_USER }} \
|
||||||
-p ${{ secrets.DOCKERHUB_TOKEN }}
|
-p ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
TAG=${{ steps.extracter.outputs.version }}-${{ steps.extracter.outputs.sha_short }} docker-compose push pytest
|
IMAGE_TAG=${{ steps.extracter.outputs.version }}-${{ steps.extracter.outputs.sha_short }} docker-compose push pytest
|
||||||
TAG=latest docker-compose push pytest
|
IMAGE_TAG=latest docker-compose push pytest
|
||||||
echo "Push pytest image Succeeded"
|
echo "Push pytest image Succeeded"
|
||||||
|
Loading…
Reference in New Issue
Block a user