13 lines
375 B
YAML
13 lines
375 B
YAML
name: build-server
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
build:
|
|
runs-on: nix
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: nix shell nixpkgs#docker -c docker login --username gitea --password '${{ secrets.REGISTRY }}' registry.scug.io
|
|
- run: nix run -j 12 .#docker_push registry.scug.io/404-pages/server latest $(git rev-parse --short HEAD) -L
|