Skip to content

Commit

Permalink
Initial pass at creating a Makefile for CI/CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
justdan6 committed Sep 22, 2023
1 parent 86f354a commit 4bd421b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
test:
docker run -t justdanz/curl-http3 curl --version | grep "curl 8.3.0"
docker run --rm justdanz/curl-http3 curl -sIL https://httpbin.org/brotli | grep -i 'content-encoding: br'
docker run --rm justdanz/curl-http3 curl -sIL https://blog.cloudflare.com --http3 -H 'user-agent: mozilla' | grep 'HTTP/3'

build:
docker build -t justdanz/curl-http3 .

build-all:
# docker buildx create --use
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le,linux/s390x -t justdanz/curl-http3 .

publish:
docker push justdanz/curl-http3

0 comments on commit 4bd421b

Please sign in to comment.