Update CI

Signed-off-by: Khanh Ngo <khanh.ngo@taxfix.de>
This commit is contained in:
Khanh Ngo 2021-10-31 14:25:22 +01:00
parent 4f8a547d47
commit 924537b468

View File

@ -39,7 +39,7 @@ jobs:
uses: docker/build-push-action@v2
if: github.ref == 'refs/heads/master'
with:
context: .
context: ./docker
push: true
tags: ngoduykhanh/powerdns-admin:latest
@ -47,6 +47,6 @@ jobs:
uses: docker/build-push-action@v2
if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' }}
with:
context: .
context: ./docker
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}