Files
boys_streaming/.gitea/workflows/docker-build.yml
T
Workflow config file is invalid. Please check your config file: model.ReadWorkflow: yaml: unmarshal errors: line 34: cannot unmarshal !!seq into string
2026-05-03 19:10:36 +01:00

36 lines
848 B
YAML

name: Build and Push Docker Image
on:
push:
branches:
- main
env:
REGISTRY: git.home.piesweb.co.uk
IMAGE_NAME: pie/boys_streaming
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
platform: linux/amd64
push: true
tags:
- ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
- ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}