Skip to content

Commit

Permalink
Merge pull request #2 from wblondel/chore/bump-dnscontrol-v4.6.0
Browse files Browse the repository at this point in the history
Bump dnscontrol to v4.6.0
  • Loading branch information
wblondel authored Nov 14, 2023
2 parents 953387c + 741a823 commit cfdd70e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
17 changes: 3 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.17.2@sha256:69665d02cb32192e52e07644d76bc6f25abeb5410edc1c7a81a10ba3f0efb90a
FROM stackexchange/dnscontrol:4.6.0

LABEL repository="https://github.com/wblondel/dnscontrol-action"
LABEL maintainer="William Gérald Blondel <contact@williamblondel.fr>"
Expand All @@ -8,19 +8,8 @@ LABEL "com.github.actions.description"="Check, preview and deploy your DNS confi
LABEL "com.github.actions.icon"="cloud"
LABEL "com.github.actions.color"="yellow"

ENV DNSCONTROL_VERSION="3.31.4"
ENV DNSCONTROL_CHECKSUM="054d236531df2674c9286279596f88f02c1cf7b1448dc5f643f1a1dbe705fe8d"

RUN apk -U --no-cache upgrade && \
apk add --no-cache bash ca-certificates curl libc6-compat

RUN curl -sL "https://github.com/StackExchange/dnscontrol/releases/download/v$DNSCONTROL_VERSION/dnscontrol-Linux" \
-o dnscontrol && \
echo "$DNSCONTROL_CHECKSUM dnscontrol" | sha256sum -c - && \
chmod +x dnscontrol && \
mv dnscontrol /usr/local/bin/dnscontrol

RUN ["dnscontrol", "version"]
RUN dnscontrol version && \
apk add --no-cache bash

COPY README.md entrypoint.sh bin/filter-preview-output.sh /
ENTRYPOINT ["/entrypoint.sh"]
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DNSControl Action

![](https://github.com/koenrh/dnscontrol-action/workflows/build/badge.svg)
![](https://github.com/wblondel/dnscontrol-action/workflows/build/badge.svg)

Deploy your DNS configuration using [GitHub Actions](https://github.com/actions)
using [DNSControl](https://github.com/StackExchange/dnscontrol/).
Expand All @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v2

- name: DNSControl check
uses: koenrh/dnscontrol-action@v3
uses: wblondel/dnscontrol-action@v4
with:
args: check

Expand All @@ -54,7 +54,7 @@ jobs:
- uses: actions/checkout@v3

- name: DNSControl preview
uses: koenrh/dnscontrol-action@v3
uses: wblondel/dnscontrol-action@v4
id: dnscontrol_preview
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
- uses: actions/checkout@v3

- name: DNSControl push
uses: koenrh/dnscontrol-action@v3
uses: wblondel/dnscontrol-action@v4
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
with:
Expand Down

0 comments on commit cfdd70e

Please sign in to comment.