-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 1020 Bytes
/
ci.yml
File metadata and controls
44 lines (37 loc) · 1020 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: ci
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Build the Docker image
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64
tags: justdanz/curl-http3
cache-from: |
ghcr.io/justdanz/curl-http3:latest
-
name: Verify Curl
run: |
docker run -t justdanz/curl-http3 curl --version | grep "curl 8.10.1"
-
name: Verify Brotli support
run: |
docker run --rm justdanz/curl-http3 curl -sIL https://httpbin.org/brotli | grep -i 'content-encoding: br'
-
name: Verify HTTP/3 support
run: |
docker run --rm justdanz/curl-http3 curl -sIL https://blog.cloudflare.com --http3 -H 'user-agent: mozilla' | grep 'HTTP/3'