mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-28 05:55:40 +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}}.{{minor}}
|
||||||
type=semver,pattern={{major}}
|
type=semver,pattern={{major}}
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v1
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
@ -42,7 +39,8 @@ 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: ./docker
|
context: ./
|
||||||
|
file: ./docker/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ngoduykhanh/powerdns-admin:latest
|
tags: ngoduykhanh/powerdns-admin:latest
|
||||||
|
|
||||||
@ -50,6 +48,7 @@ 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: ./docker
|
context: ./
|
||||||
|
file: ./docker/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
Loading…
Reference in New Issue
Block a user