fix: correctly set the push directive

This commit is contained in:
Duologic 2021-06-17 15:22:26 +02:00
parent 21bb1d8d9c
commit fc3f9bca2d

View file

@ -49,7 +49,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
push: ${{ github.event_name != 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository }}
push: ${{ github.event_name != 'pull_request' && github.repository == 'jsonnet-libs/docsonnet' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
-