mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-13 03:47:56 +01:00
Add actions for couple of tags
This commit is contained in:
parent
6a01d915ca
commit
eca5ee5aac
4 changed files with 120 additions and 3 deletions
39
.github/workflows/docker-image-tag-pdns-alpine-44.yml
vendored
Normal file
39
.github/workflows/docker-image-tag-pdns-alpine-44.yml
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
name: Docker Image CI pdns-mysql 4.4 alpine
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: [ 'pdns-mysql-alpine-4.4' ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Check Out Repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
||||
|
||||
- name: Build and push PDNS
|
||||
id: docker_build_pdns
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./pdns
|
||||
file: ./pdns/Dockerfile.alpine
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-mysql:4.4-alpine
|
||||
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build_pdns.outputs.digest }}
|
|
@ -25,8 +25,8 @@ jobs:
|
|||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
||||
|
||||
- name: Build and push PDNS latest
|
||||
id: docker_build_pdns_latest
|
||||
- name: Build and push PDNS
|
||||
id: docker_build_pdns
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./pdns
|
||||
|
@ -36,4 +36,4 @@ jobs:
|
|||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-mysql:4.4
|
||||
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build_pdns_latest.outputs.digest }}
|
||||
run: echo ${{ steps.docker_build_pdns.outputs.digest }}
|
||||
|
|
39
.github/workflows/docker-image-tag-recursor-alpine-44.yml
vendored
Normal file
39
.github/workflows/docker-image-tag-recursor-alpine-44.yml
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
name: Docker Image CI pdns-recursor 4.4 alpine
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: [ 'pdns-recursor-alpine-4.4' ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Check Out Repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
||||
|
||||
- name: Build and push PDNS Recursor
|
||||
id: docker_build_recursor
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./pdns-recursor
|
||||
file: ./pdns-recursor/Dockerfile.alpine
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-recursor:4.4-alpine
|
||||
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build_recursor.outputs.digest }}
|
39
.github/workflows/docker-image-tag-recursor-fedora-44.yml
vendored
Normal file
39
.github/workflows/docker-image-tag-recursor-fedora-44.yml
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
name: Docker Image CI pdns-recursor 4.4 latest
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: [ 'pdns-recursor-fedora-4.4' ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Check Out Repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
||||
|
||||
- name: Build and push PDNS Recursor
|
||||
id: docker_build_recursor
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./pdns-recursor
|
||||
file: ./pdns-recursor/Dockerfile
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-recursor:4.4
|
||||
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build_recursor.outputs.digest }}
|
Loading…
Reference in a new issue