Initial commit

This commit is contained in:
Hayden 2022-08-29 18:30:36 -08:00
commit 29f583e936
135 changed files with 18463 additions and 0 deletions

23
.github/workflows/publish.yaml vendored Normal file
View file

@ -0,0 +1,23 @@
name: Build Docker Image
on:
push:
branches: [main]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: login to container registry
run: docker login ghcr.io --username hay-kot --password $CR_PAT
env:
CR_PAT: ${{ secrets.CR_PAT }}
- name: Build Docker Image
run: cd backend && docker build -t ghcr.io/hay-kot/go-web-template:latest .
- name: push to container registry
run: docker push ghcr.io/hay-kot/go-web-template:latest