Add project files

This commit is contained in:
Sean Greenawalt 2025-05-10 05:16:40 -04:00
commit 8cf01ead74
Signed by: seang96
GPG key ID: 504F02B511005571
40 changed files with 3967 additions and 0 deletions

View file

@ -0,0 +1,40 @@
on:
push:
branches:
- "**"
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
publish_debug:
runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:act-22.04
steps:
- name: Extract metadata (tags, labels)
id: meta
uses: docker/metadata-action@v5
with:
images: |
git.spgrn.com/${{ env.GITHUB_REPOSITORY }}-web
tags: |
type=ref,event=pr
type=ref,event=branch
type=sha
- name: Checkout
uses: actions/checkout@v4
- name: Login to Container Registry
uses: docker/login-action@v3
with:
registry: git.spgrn.com
username: seang96
password: ${{ secrets.TOKEN }}
- name: Build Web Application
uses: docker/build-push-action@v5
with:
context: .
file: ./StalwartSimpleLoginMiddleware/Dockerfile
platforms: linux/amd64
push: true
BUILD_CONFIGURATION=Debug
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}