Skip to content

Commit

Permalink
ci: fix the condition to set container registry token
Browse files Browse the repository at this point in the history
  • Loading branch information
josedev-union committed Aug 12, 2024
1 parent aaed83a commit 9415c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9415c1e

Please sign in to comment.