Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

fix: 修正构建错误 #31

fix: 修正构建错误

fix: 修正构建错误 #31

name: "Run Build Test"
on:
push:
branches:
- pr@*
- repr@*
- dev
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 files
run: |
bash prepare.sh
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: false
tags: jumpserver/web-static:test
file: Dockerfile
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
cache-from: type=gha
cache-to: type=gha,mode=max