Files
koillection-uploader/.gitea/workflows/build.yaml
T
joseph.nelson4456 cb00731db2
Build and Push Image / build-and-push (push) Failing after 22s
updated build yaml to try and force http for docker login
2026-04-26 23:06:51 -07:00

35 lines
880 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@v4
- name: Remove Docker Credentials
run: |
rm -f /var/lib/docker/credentials/*
- name: Set Docker Host
run: |
export DOCKER_HOST=tcp://192.168.68.150:2375
- name: Log in to Gitea Registry
uses: docker/login-action@v3
with:
registry: http://192.168.68.150:3033 # Replace with your Gitea domain
username: ${{ gitea.actor }}
password: ${{ secrets.GITEA_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true