Files
debugghttpy/.gitea/workflows/docker.yml
T
reloia 66abb47ac1
Build and Publish Docker Image / build-and-push (push) Failing after 22s
shit: slopped from bun into a (I hope) light go shit
2026-06-26 11:11:15 +02:00

42 lines
991 B
YAML

name: Build and Publish Docker Image
on:
push:
branches:
- master
env:
REGISTRY: git.reloia.uk
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.LOGIN_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/arm64
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}