chore: github actions test for s2n build

fix github actions

fix github actions
This commit is contained in:
Jun Kurihara 2023-07-30 17:57:34 +09:00
commit dab0036910
2 changed files with 20 additions and 3 deletions

View file

@ -5,6 +5,7 @@ on:
branches:
- main
- develop
- "feat/s2n-quic"
env:
REGISTRY_IMAGE: jqtype/rpxy
@ -85,6 +86,22 @@ jobs:
platforms: linux/amd64,linux/arm64
labels: ${{ steps.meta.outputs.labels }}
- name: Nightly build and push s2n-quic
uses: docker/build-push-action@v4
with:
context: .
build-args: |
"CARGO_FEATURES=--no-default-features --features http3-s2n"
"ADDITIONAL_DEPS=pkg-config libssl-dev cmake libclang1 gcc g++"
push: true
tags: |
${{ env.REGISTRY_IMAGE }}:nightly-s2n
file: ./docker/Dockerfile
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64
labels: ${{ steps.meta.outputs.labels }}
- name: Nightly build and push slim
if: ${{ env.BRANCH == 'develop' }}
uses: docker/build-push-action@v4

View file

@ -10,9 +10,9 @@ services:
- 127.0.0.1:8443:8443
build:
context: ../
args:
- "CARGO_FEATURES=--no-default-features --features http3-s2n"
- "ADDITIONAL_DEPS=pkg-config libssl-dev cmake libclang1 gcc g++"
# args: # Specify when build quic-s2n version
# - "CARGO_FEATURES=--no-default-features --features http3-s2n"
# - "ADDITIONAL_DEPS=pkg-config libssl-dev cmake libclang1 gcc g++"
dockerfile: ./docker/Dockerfile
platforms: # Choose your platforms
# - "linux/amd64"