18 lines
No EOL
419 B
YAML
18 lines
No EOL
419 B
YAML
name: build
|
|
on:
|
|
push:
|
|
branches:
|
|
- dev
|
|
jobs:
|
|
build:
|
|
runs-on: docker
|
|
container:
|
|
image: nseguin42/forgejo-runner:ubuntu
|
|
env:
|
|
DOCKER_HOST: tcp://0.0.0.0:2375
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: docker build
|
|
run: docker build -t nseguin42/website:${{ github.sha }} .
|
|
- name: cleanup old images
|
|
run: docker image prune -f --filter "until=24h" |