Files
httptoolkit/.gitea/workflows/build.yml
T
shihaam f6d9b67044
Build & Release binary / build (push) Canceled after 0s
ci: build docker image before run
2026-08-15 02:44:03 +05:00

35 lines
789 B
YAML

name: Build & Release binary
on:
push:
branches:
- main
schedule:
# 00:00 on the 1st of every month
- cron: '0 0 1 * *'
workflow_dispatch:
jobs:
build:
runs-on: docker-compose
steps:
- name: Checkout (with submodules)
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Build Linux binary (docker)
working-directory: .build/prod
run: |
docker compose build
docker compose run --rm prod
- name: Create Gitea release & upload assets
env:
GITEA_SERVER_URL: ${{ gitea.server_url }}
GITEA_REPOSITORY: ${{ gitea.repository }}
PAT_GITEA: ${{ secrets.PAT_GITEA }}
run: bash .build/prod/release.sh