mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-13 03:47:56 +01:00
Build arm64 images in CI (#96)
* Configure arm64 build for workflows * Add Arm builds to `docker-image.yml` * Format yaml file * Remove arm/v7 since Fedora has no official image for it
This commit is contained in:
parent
22d00a3754
commit
ecb0ec7685
5 changed files with 26 additions and 0 deletions
|
@ -16,6 +16,9 @@ jobs:
|
|||
- name: Check Out Repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
@ -36,6 +39,7 @@ jobs:
|
|||
with:
|
||||
context: ./pdns
|
||||
file: ./pdns/Dockerfile.alpine
|
||||
platforms: linux/amd64,linux/arm64
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-mysql:${{ steps.vars.outputs.version }}-alpine
|
||||
|
|
|
@ -16,6 +16,9 @@ jobs:
|
|||
- name: Check Out Repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
@ -36,6 +39,7 @@ jobs:
|
|||
with:
|
||||
context: ./pdns
|
||||
file: ./pdns/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-mysql:${{ steps.vars.outputs.version }}
|
||||
|
|
|
@ -16,6 +16,9 @@ jobs:
|
|||
- name: Check Out Repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
@ -36,6 +39,7 @@ jobs:
|
|||
with:
|
||||
context: ./pdns-recursor
|
||||
file: ./pdns-recursor/Dockerfile.alpine
|
||||
platforms: linux/amd64,linux/arm64
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-recursor:${{ steps.vars.outputs.version }}-alpine
|
||||
|
|
|
@ -16,6 +16,9 @@ jobs:
|
|||
- name: Check Out Repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
@ -36,6 +39,7 @@ jobs:
|
|||
with:
|
||||
context: ./pdns-recursor
|
||||
file: ./pdns-recursor/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-recursor:${{ steps.vars.outputs.version }}
|
||||
|
|
10
.github/workflows/docker-image.yml
vendored
10
.github/workflows/docker-image.yml
vendored
|
@ -15,6 +15,9 @@ jobs:
|
|||
- name: Check Out Repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
@ -31,6 +34,7 @@ jobs:
|
|||
with:
|
||||
context: ./pdns-recursor
|
||||
file: ./pdns-recursor/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-recursor:latest
|
||||
|
@ -44,6 +48,7 @@ jobs:
|
|||
with:
|
||||
context: ./pdns-recursor
|
||||
file: ./pdns-recursor/Dockerfile.alpine
|
||||
platforms: linux/amd64,linux/arm64
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-recursor:alpine
|
||||
|
@ -57,6 +62,7 @@ jobs:
|
|||
with:
|
||||
context: ./pdns
|
||||
file: ./pdns/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-mysql:latest
|
||||
|
@ -70,6 +76,7 @@ jobs:
|
|||
with:
|
||||
context: ./pdns
|
||||
file: ./pdns/Dockerfile.alpine
|
||||
platforms: linux/amd64,linux/arm64
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-mysql:alpine
|
||||
|
@ -83,6 +90,7 @@ jobs:
|
|||
with:
|
||||
context: ./pdns-admin-base-ngoduykhanh
|
||||
file: ./pdns-admin-base-ngoduykhanh/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: |
|
||||
|
@ -98,6 +106,7 @@ jobs:
|
|||
with:
|
||||
context: ./pdns-admin-uwsgi-ngoduykhanh
|
||||
file: ./pdns-admin-uwsgi-ngoduykhanh/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: |
|
||||
|
@ -113,6 +122,7 @@ jobs:
|
|||
with:
|
||||
context: ./pdns-admin-static-ngoduykhanh
|
||||
file: ./pdns-admin-static-ngoduykhanh/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: |
|
||||
|
|
Loading…
Reference in a new issue