diff --git a/.github/workflows/docker_build_push.yml b/.github/workflows/docker_build_push.yml index b3e5e881..6a501bdf 100644 --- a/.github/workflows/docker_build_push.yml +++ b/.github/workflows/docker_build_push.yml @@ -5,6 +5,7 @@ on: branches: - main - develop + - "feat/s2n-quic" env: REGISTRY_IMAGE: jqtype/rpxy @@ -85,6 +86,23 @@ jobs: platforms: linux/amd64,linux/arm64 labels: ${{ steps.meta.outputs.labels }} + - name: Nightly build and push s2n-quic + if: ${{ env.BRANCH == 'feat/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 diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 5bd0c404..83ae91c8 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -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"