Adds release workflow for docker builds (#10)

* Adds release workflow for docker builds

* Ignore github directory
This commit is contained in:
TheLegendTubaGuy
2025-09-10 22:10:45 -05:00
committed by GitHub
parent e2a032e7da
commit 88d2587cab
2 changed files with 7 additions and 1 deletions

View File

@@ -3,8 +3,12 @@ name: CI
on:
pull_request:
branches: [main]
paths-ignore:
- '.github/**'
push:
branches: [main]
paths-ignore:
- '.github/**'
jobs:
lint-and-test:

View File

@@ -3,6 +3,7 @@ name: Build and Push Docker Image
on:
push:
branches: [ main ]
tags: [ 'v*' ]
jobs:
build:
@@ -29,8 +30,9 @@ jobs:
images: ghcr.io/${{ github.repository }}
tags: |
type=ref,event=branch
type=ref,event=tag
type=sha
type=raw,value=latest
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push Docker image
uses: docker/build-push-action@v5