mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-28 14:05:41 +00:00
Update CI
Signed-off-by: Khanh Ngo <khanh.ngo@taxfix.de>
This commit is contained in:
parent
4f8a547d47
commit
924537b468
4
.github/workflows/build-and-publish.yml
vendored
4
.github/workflows/build-and-publish.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
with:
|
with:
|
||||||
context: .
|
context: ./docker
|
||||||
push: true
|
push: true
|
||||||
tags: ngoduykhanh/powerdns-admin:latest
|
tags: ngoduykhanh/powerdns-admin:latest
|
||||||
|
|
||||||
@ -47,6 +47,6 @@ jobs:
|
|||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' }}
|
if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' }}
|
||||||
with:
|
with:
|
||||||
context: .
|
context: ./docker
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
Loading…
Reference in New Issue
Block a user