docker and workflow

This commit is contained in:
Gabe Farrell 2026-01-21 23:13:47 -05:00
parent 656b5fd9c5
commit e60b83ebc8
3 changed files with 63 additions and 1 deletions

30
.github/workflows/docker.yml vendored Normal file
View file

@ -0,0 +1,30 @@
name: Build and Push Docker Image
on:
push:
branches:
- main
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Log in to Docker registry
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build Docker image
run: |
docker build -t gabehf/koito-multi-proxy:latest .
- name: Push Docker image
run: |
docker push gabehf/koito-multi-proxy:latest