Skip to content

Commit

Permalink
add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzYanick committed Jan 11, 2024
1 parent 6298079 commit 07ec845
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/docker-client.yml
Original file line number Diff line number Diff line change
@@ -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
16 changes: 16 additions & 0 deletions .github/workflows/docker-server.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 07ec845

Please sign in to comment.