Files
schwab-mcp-custom/.gitea/workflows/build.yaml
b3nw d212078420
Some checks failed
Build and Push Docker Image / build (push) Failing after 19s
fix(ci): install git in builder and pass token for private dependency
The builder image needs git to clone the schwab-scraper SSH dependency.
Uses git insteadOf to redirect SSH URLs to HTTPS with CR_PAT in CI.
2026-04-25 00:58:43 +00:00

33 lines
730 B
YAML

name: Build and Push Docker Image
on:
push:
branches:
- main
- master
jobs:
build:
runs-on: docker
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Gitea Container Registry
uses: docker/login-action@v2
with:
registry: gitea.ext.ben.io
username: ${{ gitea.actor }}
password: ${{ secrets.CR_PAT }}
- name: Build and Push
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: gitea.ext.ben.io/${{ gitea.repository }}:latest
build-args: |
GIT_TOKEN=${{ secrets.CR_PAT }}