mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-25 20:18:01 +02:00
CI: Prevent docker release when hopeless
[why] On forks for example they might have a docker repo associated or not. The release process is run in any case and will fail in that cases. [how] Check that at least the secret is known. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
43b5af6271
commit
1d6aa1748d
1
.github/workflows/docker-release.yml
vendored
1
.github/workflows/docker-release.yml
vendored
@ -17,6 +17,7 @@ jobs:
|
||||
publish-image:
|
||||
name: Publish image
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ secrets.DOCKER_USER }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build image
|
||||
|
Loading…
Reference in New Issue
Block a user