Skip to content

Commit

Permalink
CI: parallelize multiarch build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamesits committed Aug 23, 2023
1 parent f3e5298 commit 299e8f9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ jobs:
strategy:
matrix:
variant: ["client", "server"]
platforms: [
"linux/amd64",
"linux/arm/v6",
"linux/arm/v7",
"linux/arm64/v8"
]
steps:
-
name: Set up QEMU
Expand All @@ -33,4 +39,4 @@ jobs:
file: ./Dockerfile.${{ matrix.variant }}
tags: m13253/dns-over-https-${{ matrix.variant }}:latest
push: true
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8
platforms: ${{ matrix.platforms }}
13 changes: 9 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ and [IETF DNS-over-HTTPS (RFC 8484)](https://www.rfc-editor.org/rfc/rfc8484.txt)

## Installing
### From Source
- Install [Go](https://golang.org), at least version 1.13. The newer, the better.
- Install [Go](https://golang.org), at least version 1.20. The newer, the better.
> Note for Debian/Ubuntu users: You need to set `$GOROOT` if you could not get your new version of Go selected by the Makefile.
- First create an empty directory, used for `$GOPATH`:
Expand Down Expand Up @@ -67,6 +67,11 @@ docker run -d --name doh-server \
satishweb/doh-server
```

Feeling adventurous? Try the latest build:

- `m13253/dns-over-https-server:latest`
- `m13253/dns-over-https-client:latest`

## Logging

All log lines (by either doh-client or doh-server) are written into `stderr`; you can view them using your OS tool of choice (`journalctl` when using systemd).
Expand Down Expand Up @@ -131,7 +136,7 @@ server {

server_tokens off;

ssl_protocols TLSv1.2 TLSv1.3; # TLS 1.3 requires nginx >= 1.13.0
ssl_protocols TLSv1.2 TLSv1.3; # TLS 1.3 requires nginx >= 1.20.0
ssl_prefer_server_ciphers on;
ssl_dhparam /etc/nginx/dhparam.pem; # openssl dhparam -dsaparam -out /etc/nginx/dhparam.pem 4096
ssl_ciphers EECDH+AESGCM:EDH+AESGCM;
Expand Down Expand Up @@ -283,8 +288,8 @@ stream {
proxy_pass ipofyourdnsresolver:port #127.0.0.1:53
}
ssl_certificate /etc/letsencrypt/live/site.yourdomain/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/site.yourdomain/privkey.pem;
ssl_certificate /etc/letsencrypt/live/site.yourdomain/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/site.yourdomain/privkey.pem;
}
```

Expand Down

0 comments on commit 299e8f9

Please sign in to comment.