9090 if : inputs.push != true && github.event_name != 'push' && env.ACT == 'true'
9191 run : |
9292 DOCKER_BUILDKIT=1 docker build --platform linux/amd64 --load \
93- -t curl-http3 :${IMAGE_TAG} -t curl-http3 :latest .
93+ -t curl-edge :${IMAGE_TAG} -t curl-edge :latest .
9494
9595 - name : Build (no push)
9696 if : inputs.push != true && github.event_name != 'push' && env.ACT != 'true'
@@ -101,25 +101,25 @@ jobs:
101101 platforms : linux/amd64
102102 load : true
103103 tags : |
104- curl-http3 :${{ env.IMAGE_TAG }}
105- curl-http3 :latest
104+ curl-edge :${{ env.IMAGE_TAG }}
105+ curl-edge :latest
106106
107107 - name : Test curl -V
108108 if : inputs.push != true && github.event_name != 'push'
109- run : docker run --rm curl-http3 :${IMAGE_TAG} curl -V
109+ run : docker run --rm curl-edge :${IMAGE_TAG} -V
110110
111111 - name : Test HTTP/3 to Cloudflare
112112 if : inputs.push != true && github.event_name != 'push'
113113 run : |
114- docker run --rm --network host curl-http3 :${IMAGE_TAG} \
115- curl -I --http3 https://cloudflare-quic.com/ || \
116- docker run --rm --network host curl-http3 :${IMAGE_TAG} \
117- curl -I --http3 https://www.cloudflare.com/ --connect-timeout 10 || true
114+ docker run --rm --network host curl-edge :${IMAGE_TAG} \
115+ -I --http3 https://cloudflare-quic.com/ || \
116+ docker run --rm --network host curl-edge :${IMAGE_TAG} \
117+ -I --http3 https://www.cloudflare.com/ --connect-timeout 10 || true
118118
119119 - name : Test httpstat script
120120 if : inputs.push != true && github.event_name != 'push'
121121 run : |
122- docker run --rm --network host curl-http3 :${IMAGE_TAG} \
122+ docker run --rm --network host curl-edge :${IMAGE_TAG} \
123123 /opt/httpstat.sh -I --http3 https://cloudflare-quic.com/ || true
124124
125125 - name : Build and push
@@ -130,5 +130,5 @@ jobs:
130130 push : true
131131 platforms : linux/amd64
132132 tags : |
133- ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.GITHUB_REPOSITORY_NAME_PART }} :${{ env.IMAGE_TAG }}
134- ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.GITHUB_REPOSITORY_NAME_PART }} :latest
133+ getpagespeed/curl-edge :${{ env.IMAGE_TAG }}
134+ getpagespeed/curl-edge :latest
0 commit comments