23 lines
435 B
YAML
23 lines
435 B
YAML
name: build-local-image
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: nix-host
|
|
steps:
|
|
- name: Validate workspace
|
|
run: |
|
|
pwd
|
|
ls -la
|
|
test -f Dockerfile
|
|
|
|
- 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
|