From 382a0e7f7c48803ed85aee5b308ebaba2c0d3720 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 | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 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..b30bc4606c --- /dev/null +++ b/.github/workflows/interop-docker.yml @@ -0,0 +1,30 @@ +name: qns (quic-network-simulator) + +on: + push: + branches: + - 'docker' # TODO: update + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - 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 + working-directory: ./qns