chore: github actions test for s2n build
fix github actions fix github actions
This commit is contained in:
parent
e751bd34ac
commit
dab0036910
2 changed files with 20 additions and 3 deletions
17
.github/workflows/docker_build_push.yml
vendored
17
.github/workflows/docker_build_push.yml
vendored
|
|
@ -5,6 +5,7 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- develop
|
- develop
|
||||||
|
- "feat/s2n-quic"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY_IMAGE: jqtype/rpxy
|
REGISTRY_IMAGE: jqtype/rpxy
|
||||||
|
|
@ -85,6 +86,22 @@ jobs:
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
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
|
- name: Nightly build and push slim
|
||||||
if: ${{ env.BRANCH == 'develop' }}
|
if: ${{ env.BRANCH == 'develop' }}
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,9 @@ services:
|
||||||
- 127.0.0.1:8443:8443
|
- 127.0.0.1:8443:8443
|
||||||
build:
|
build:
|
||||||
context: ../
|
context: ../
|
||||||
args:
|
# args: # Specify when build quic-s2n version
|
||||||
- "CARGO_FEATURES=--no-default-features --features http3-s2n"
|
# - "CARGO_FEATURES=--no-default-features --features http3-s2n"
|
||||||
- "ADDITIONAL_DEPS=pkg-config libssl-dev cmake libclang1 gcc g++"
|
# - "ADDITIONAL_DEPS=pkg-config libssl-dev cmake libclang1 gcc g++"
|
||||||
dockerfile: ./docker/Dockerfile
|
dockerfile: ./docker/Dockerfile
|
||||||
platforms: # Choose your platforms
|
platforms: # Choose your platforms
|
||||||
# - "linux/amd64"
|
# - "linux/amd64"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue