From 07ec8455b58a3c0e1b2904db0f12eac553faf24a Mon Sep 17 00:00:00 2001 From: ItzYanick Date: Thu, 11 Jan 2024 16:09:43 +0100 Subject: [PATCH] add workflows --- .github/workflows/docker-client.yml | 16 ++++++++++++++++ .github/workflows/docker-server.yml | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .github/workflows/docker-client.yml create mode 100644 .github/workflows/docker-server.yml diff --git a/.github/workflows/docker-client.yml b/.github/workflows/docker-client.yml new file mode 100644 index 0000000..7355e5f --- /dev/null +++ b/.github/workflows/docker-client.yml @@ -0,0 +1,16 @@ +name: Build and publish the client docker image to GitHub Container Registry +on: + release: + types: [published] + +jobs: + docker_publish: + runs-on: 'ubuntu-20.04' + steps: + - uses: actions/checkout@v2 + - name: Build and publish client docker image + uses: macbre/push-to-ghcr@master + with: + image_name: itzyanick/stupidproxy-client + github_token: ${{ secrets.GITHUB_TOKEN }} + dockerfile: Dockerfile.client diff --git a/.github/workflows/docker-server.yml b/.github/workflows/docker-server.yml new file mode 100644 index 0000000..40aa5bc --- /dev/null +++ b/.github/workflows/docker-server.yml @@ -0,0 +1,16 @@ +name: Build and publish the server docker image to GitHub Container Registry +on: + release: + types: [published] + +jobs: + docker_publish: + runs-on: 'ubuntu-20.04' + steps: + - uses: actions/checkout@v2 + - name: Build and publish server docker image + uses: macbre/push-to-ghcr@master + with: + image_name: itzyanick/stupidproxy-server + github_token: ${{ secrets.GITHUB_TOKEN }} + dockerfile: Dockerfile.server