mirror of
https://github.com/stashapp/stash.git
synced 2026-03-27 15:42:04 +01:00
* update compiler and build process - assemble cross-builds in multi-build steps - clean up unnecessary dependences - use node docker image instead of nodesource (unsupported) - downgrade to freebsd12 to match compiler Co-authored-by: Gykes <Gykes@pm.me> * [compiler] use new image instead of placeholder removes .gitignore, update README * [CI] lock pnpm action-setup to SHA hash * bump @actions/upload-artifact --------- Co-authored-by: feederbox826 <feederbox826@users.noreply.github.com> Co-authored-by: Gykes <Gykes@pm.me> Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
28 lines
No EOL
717 B
YAML
28 lines
No EOL
717 B
YAML
name: Compiler Build
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
COMPILER_IMAGE: ghcr.io/stashapp/compiler:13
|
|
|
|
jobs:
|
|
build-compiler:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.repository_owner }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
- uses: docker/setup-buildx-action@v3
|
|
- uses: docker/build-push-action@v6
|
|
with:
|
|
push: true
|
|
context: "{{defaultContext}}:docker/compiler"
|
|
tags: |
|
|
${{ env.COMPILER_IMAGE }}
|
|
ghcr.io/stashapp/compiler:latest
|
|
cache-from: type=gha,scope=all,mode=max
|
|
cache-to: type=gha,scope=all,mode=max |