Skip to content

perf: 添加 grafana 模块 #120

perf: 添加 grafana 模块

perf: 添加 grafana 模块 #120

Workflow file for this run

name: "Run Build Test"
on:
push:
branches:
- pr@*
- repr@*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- name: Prepare Build
run: |
sed -i 's@^FROM registry.fit2cloud.com@# FROM registry.fit2cloud.com@g' Dockerfile Dockerfile-ee
sed -i 's@^COPY --from=@# COPY --from=@g' Dockerfile Dockerfile-ee
- name: Build CE Image
uses: docker/build-push-action@v5
with:
context: .
push: false
file: Dockerfile
tags: jumpserver/web-ce:test
platforms: linux/amd64
build-args: |
APT_MIRROR=http://deb.debian.org
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build EE Image
uses: docker/build-push-action@v5
with:
context: .
push: false
file: Dockerfile-ee
tags: jumpserver/web-ee:test
platforms: linux/amd64
build-args: |
APT_MIRROR=http://deb.debian.org
cache-from: type=gha
cache-to: type=gha,mode=max