Skip to content

Commit

Permalink
Bump verbosity to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
jsha committed Nov 29, 2023
1 parent 1cc3921 commit 79644ec
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build
run: docker build --tag ghcr.io/jsha/unboundtest:latest .
run: podman build --tag "ghcr.io/jsha/unboundtest:${GITHUB_SHA}" .

- name: Tag latest
run: podman tag "ghcr.io/jsha/unboundtest:${GITHUB_SHA}" "ghcr.io/jsha/unboundtest/latest" .

- name: Push
run: podman push "ghcr.io/jsha/unboundtest:${GITHUB_SHA}"

- name: Push
run: docker push ghcr.io/jsha/unboundtest:latest
run: podman push "ghcr.io/jsha/unboundtest:latest"
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM ubuntu:lunar
FROM ubuntu:23.04
LABEL org.opencontainers.image.source=https://github.com/jsha/unboundtest
ENV DEBIAN_FRONTEND noninteractive
RUN apt update && apt -y install unbound golang-go ca-certificates
COPY . /unboundtest
WORKDIR /unboundtest
RUN GOBIN=/usr/bin go install ./
RUN mkdir -p /var/run/unboundtest
COPY index.html root.key unbound.conf /var/run/unboundtest/
WORKDIR /var/run/unboundtest
COPY . /unboundtest-repo
WORKDIR /unboundtest-repo
RUN GOBIN=/usr/bin go install .
RUN mkdir -p /work/
COPY index.html root.key unbound.conf /work/
WORKDIR /work/
EXPOSE 1232
CMD ["/usr/bin/unboundtest"]
2 changes: 1 addition & 1 deletion unbound.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ server:
val-log-level: 2
num-threads: 1
so-reuseport: yes
verbosity: 2
verbosity: 5
use-syslog: no
log-time-ascii: yes
do-ip4: yes
Expand Down

0 comments on commit 79644ec

Please sign in to comment.