mirror of
https://github.com/ravenscroftj/turbopilot.git
synced 2024-09-29 20:25:56 +00:00
Create docker-image.yml
This commit is contained in:
parent
9b2082c128
commit
2fb7548840
27
.github/workflows/docker-image.yml
vendored
Normal file
27
.github/workflows/docker-image.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
name: Docker Image CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Publish Docker Image to GitHub Registry
|
||||||
|
# You may pin to the exact commit or the version.
|
||||||
|
# uses: TilBlechschmidt/gp-docker-action@f89287d44556dd7d24f76c799cd0795eeb352bcf
|
||||||
|
uses: TilBlechschmidt/gp-docker-action@v0.2-alpha
|
||||||
|
with:
|
||||||
|
# GitHub token to push Docker image to GitHub Packages
|
||||||
|
github-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
# Docker Image name
|
||||||
|
image-name: turbopilot
|
||||||
|
# Path to the directory where the Dockerfile resides
|
||||||
|
dockerfile-path: . # optional, default is .
|
Loading…
Reference in New Issue
Block a user