12
.gitea/workflows/build.yaml
Normal file
12
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user