20 lines
384 B
YAML
20 lines
384 B
YAML
name: build-local-image
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: nix-host
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build local image on runner host
|
|
run: docker build --pull -t lightscale-admin:local .
|
|
|
|
- name: Show built image
|
|
run: docker image ls lightscale-admin:local
|