add docker build.yml
This commit is contained in:
16
.github/workflows/docker-build.yml
vendored
Normal file
16
.github/workflows/docker-build.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Build Docker Image
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build-docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build Docker image
|
||||
run: docker build -t monitor-im-flur .
|
||||
@@ -1,19 +0,0 @@
|
||||
default:
|
||||
image: oven/bun
|
||||
|
||||
stages:
|
||||
- build
|
||||
- lint
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- bun install
|
||||
- bun run build
|
||||
|
||||
lint:
|
||||
stage: lint
|
||||
script:
|
||||
- bun install -g biome
|
||||
- biome check
|
||||
- biome lint
|
||||
Reference in New Issue
Block a user