docker-compose and actions
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s

This commit is contained in:
2025-12-08 11:58:38 -06:00
parent c2cee5c708
commit fab9318d84
3 changed files with 43 additions and 7 deletions

View File

@@ -0,0 +1,33 @@
name: Build and Push Docker Image
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
# required to ensure we have node and all the build requirements for gitea actions
container: docker.io/catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: git.sneakygeek.net
username: ${{ github.actor }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
git.sneakygeek.net/sneakygeek/resume:latest
git.sneakygeek.net/sneakygeek/resume:${{ github.sha }}