Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): only push docker image if we have the necessary permissions
We run this workflow in several contexts: `pull_request`, `tags` and `push`. For the events that are not `pull_request`, this property won't be defined, i.e. be `undefined`. Negating that should yield `true` which is what we want: push the image for the `master` branch and on new tags that start with `libp2p-server-*`. Pull-Request: #4502.
- Loading branch information