Initial commit with CI/CD blueprint
Some checks failed
Automated Container Build / build-and-push (push) Failing after 4s

This commit is contained in:
Elijah 2026-06-27 10:56:48 -07:00
commit 666ceb7325
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,25 @@
name: Automated Container Build
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Log into Local Registry
run: |
echo "${{ secrets.FORGEJO_PAT }}" | docker login git.elijahkuntz.com -u "${{ gitea.actor }}" --password-stdin
- name: Build and Push Image
run: |
# Force the entire image path string to lowercase dynamically
IMAGE_PATH=$(echo "git.elijahkuntz.com/${{ gitea.actor }}/${{ github.event.repository.name }}:latest" | tr '[:upper:]' '[:lower:]')
docker build -t "$IMAGE_PATH" .
docker push "$IMAGE_PATH"

13
.gitignore vendored Normal file
View file

@ -0,0 +1,13 @@
# IDE & Editor files
.vscode/
.cursor/
.idea/
*.swp
*.xml
# Build outputs (if your Node app eventually compiles or bundles code)
dist/
build/
out/
# Local application run data