mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-27 21:45:39 +00:00
Update CI
Signed-off-by: Khanh Ngo <khanh.ngo@taxfix.de>
This commit is contained in:
parent
c49df09ac8
commit
1662a812ba
9
.github/workflows/build-and-publish.yml
vendored
9
.github/workflows/build-and-publish.yml
vendored
@ -25,9 +25,6 @@ jobs:
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
type=semver,pattern={{major}}
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
@ -42,7 +39,8 @@ jobs:
|
||||
uses: docker/build-push-action@v2
|
||||
if: github.ref == 'refs/heads/master'
|
||||
with:
|
||||
context: ./docker
|
||||
context: ./
|
||||
file: ./docker/Dockerfile
|
||||
push: true
|
||||
tags: ngoduykhanh/powerdns-admin:latest
|
||||
|
||||
@ -50,6 +48,7 @@ jobs:
|
||||
uses: docker/build-push-action@v2
|
||||
if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' }}
|
||||
with:
|
||||
context: ./docker
|
||||
context: ./
|
||||
file: ./docker/Dockerfile
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
|
Loading…
Reference in New Issue
Block a user