Files
SneakyMon/.gitea/workflows/docker-build.yaml
Phillip Tarrant 59456e202e
All checks were successful
Build and Push Docker Image / build (push) Successful in 5s
testing actions
2025-12-04 00:42:06 -06:00

34 lines
836 B
YAML

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/sneakymon:latest
git.sneakygeek.net/sneakygeek/sneakymon:${{ github.sha }}