From 906f2243aaa570b3b348b5a985b5aee71ce5be4a Mon Sep 17 00:00:00 2001 From: Max Inden Date: Mon, 15 Jan 2024 09:36:00 +0100 Subject: [PATCH] ci: automate quic-network-simulator docker image build & push --- .github/workflows/interop-docker.yml | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/interop-docker.yml diff --git a/.github/workflows/interop-docker.yml b/.github/workflows/interop-docker.yml new file mode 100644 index 0000000000..bc4c11d2af --- /dev/null +++ b/.github/workflows/interop-docker.yml @@ -0,0 +1,31 @@ +name: qns (quic-network-simulator) + +on: + push: + branches: + - 'docker' # TODO: update + +jobs: + docker: + runs-on: ubuntu-latest + steps: + # TODO: needed? + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ github.token }} + + - name: Build and push + uses: docker/build-push-action@v5 + with: + push: true + tags: mxinden/neqo-qns:latest + context: qns