1
0
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:
Fini Jastrow 2022-08-26 10:54:36 +02:00
parent 43b5af6271
commit 1d6aa1748d

View File

@ -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