diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 6eefb0c6a4681..9734022d8f64b 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -90,7 +90,7 @@ jobs: # NOTE(joseb): we use gcloud auth for docker login instead of using `docker login` command in build_docker.py script. # So we just set a dummy value for DOCKERHUB_TOKEN. - name: Set container registry token - if: github.event_name == 'push' + if: github.event_name == 'push' || github.event_name == 'release' run: | echo "DOCKERHUB_TOKEN=dummy" >> $GITHUB_ENV