From d28565922b713b4daf8a4900dbf4dbcf738405ac Mon Sep 17 00:00:00 2001 From: Dongze Li Date: Wed, 25 Sep 2024 19:30:19 +0800 Subject: [PATCH] ci: release interactive image nightly (#4262) --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e169ce780c74..eca0914bb20b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -79,6 +79,16 @@ jobs: python3 -m pip install --upgrade pip && python3 -m pip install click python3 ./gsctl.py flexbuild interactive --app docker + - name: Release Nightly Image + if: ${{ github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope' }} + env: + docker_password: ${{ secrets.DOCKER_PASSWORD }} + docker_username: ${{ secrets.DOCKER_USER }} + run: | + echo "${docker_password}" | sudo docker login --username="${docker_username}" ${{ env.REGISTRY }} --password-stdin + sudo docker tag graphscope/interactive:latest ${{ env.INTERACTIVE_IMAGE }}:latest-amd64 + sudo docker push ${{ env.INTERACTIVE_IMAGE }}:latest-amd64 + - name: Extract Tag Name if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope' }} id: tag