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