mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2025-01-18 19:11:14 +01:00
Create docker-image-tag-pdns-fedora-44.yml
This commit is contained in:
parent
c9247f4b32
commit
6a01d915ca
1 changed files with 39 additions and 0 deletions
39
.github/workflows/docker-image-tag-pdns-fedora-44.yml
vendored
Normal file
39
.github/workflows/docker-image-tag-pdns-fedora-44.yml
vendored
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
name: Docker Image CI pdns-mysql 4.4 latest
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags: [ 'pdns-mysql-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 latest
|
||||||
|
id: docker_build_pdns_latest
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
context: ./pdns
|
||||||
|
file: ./pdns/Dockerfile
|
||||||
|
builder: ${{ steps.buildx.outputs.name }}
|
||||||
|
push: true
|
||||||
|
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-mysql:4.4
|
||||||
|
|
||||||
|
- name: Image digest
|
||||||
|
run: echo ${{ steps.docker_build_pdns_latest.outputs.digest }}
|
Loading…
Reference in a new issue