mirror of
https://github.com/gabehf/koito-multi-proxy.git
synced 2026-03-07 21:48:14 -08:00
docker and workflow
This commit is contained in:
parent
656b5fd9c5
commit
e60b83ebc8
3 changed files with 63 additions and 1 deletions
30
.github/workflows/docker.yml
vendored
Normal file
30
.github/workflows/docker.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue