mirror of
https://github.com/stashapp/stash.git
synced 2026-03-26 15:11:32 +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>
22 lines
No EOL
504 B
Makefile
22 lines
No EOL
504 B
Makefile
host=ghcr.io
|
|
user=stashapp
|
|
repo=compiler
|
|
version=13
|
|
|
|
VERSION_IMAGE = ${host}/${user}/${repo}:${version}
|
|
LATEST_IMAGE = ${host}/${user}/${repo}:latest
|
|
|
|
latest:
|
|
docker build -t ${LATEST_IMAGE} .
|
|
|
|
build:
|
|
docker build -t ${VERSION_IMAGE} -t ${LATEST_IMAGE} .
|
|
|
|
build-no-cache:
|
|
docker build --no-cache -t ${VERSION_IMAGE} -t ${LATEST_IMAGE} .
|
|
|
|
# requires docker login ghcr.io
|
|
# echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin
|
|
push:
|
|
docker push ${VERSION_IMAGE}
|
|
docker push ${LATEST_IMAGE}
|