1name: "Build openssl interop container from quic-server"
2
3on:
4  schedule:
5    - cron:  '40 02 * * *'
6  workflow_dispatch:
7
8jobs:
9  update_quay_container:
10    runs-on: ubuntu-latest
11    steps:
12      - uses: actions/checkout@v4
13        with:
14         fetch-depth: 0
15         ref: feature/quic-server
16      - name: "log in to quay.io"
17        run: |
18          docker login -u openssl-ci+machine -p ${{ secrets.QUAY_IO_PASSWORD }} quay.io
19      - name: "Build container"
20        run: |
21          cd test/quic-openssl-docker/
22          docker build -t quay.io/openssl-ci/openssl-quic-interop-server:latest --build-arg OPENSSL_URL=https://github.com/openssl/openssl --build-arg OPENSSL_BRANCH=feature/quic-server .
23      - name: "Push to quay"
24        run: |
25          docker push quay.io/openssl-ci/openssl-quic-interop-server:latest
26
27