Files
koillection-uploader/.gitea/workflows/build.yaml
T
Workflow config file is invalid. Please check your config file: model.ReadWorkflow: yaml: unmarshal errors: line 28: cannot unmarshal !!map into string

30 lines
890 B
YAML

name: Build and Push Image
on: [push]
jobs:
build-and-push:
runs-on: ubuntu-latest
# Required for building containers inside a containerized runner
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Log in to Gitea Registry
uses: docker/login-action@v2
with:
registry: gitea.nelson-household.com # Replace with your Gitea domain
username: ${{ gitea.actor }}
password: ${{ secrets.RUNNER_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
push: true
tags:
ref: ${{ gitea.sha }} # Use SHA for a unique tag
image: https://gitea.nelson-household.com/joseph.nelson4456/koillection-uploader/koillection-uploader # Adjust path/name