fix: github action

This commit is contained in:
Duologic 2021-06-17 15:05:57 +02:00
parent b4690affcf
commit 0cfb0bb2ea

View file

@ -1,5 +1,5 @@
# https://github.com/marketplace/actions/build-and-push-docker-images#git-context # https://github.com/marketplace/actions/build-and-push-docker-images#git-context
name: ci name: docker
on: on:
@ -37,7 +37,7 @@ jobs:
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
- -
if: github.event.pull_request.head.repo.full_name == github.repository if: ${{ github.repository == 'jsonnet-libs/docsonnet' }}
name: Login to DockerHub name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with: