mirror of
https://github.com/stardrophere/InsightRadar.git
synced 2026-06-05 23:07:51 +08:00
Create docker-image.yml
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: Docker Image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: ['v*']
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build Docker Image (with BuildKit)
|
||||
run: |
|
||||
docker build \
|
||||
--progress=plain \
|
||||
-t insightradar-backend:${{ github.ref_name }} \
|
||||
-t insightradar-backend:latest \
|
||||
.
|
||||
Reference in New Issue
Block a user