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

Merge pull request #34 from jumpserver/pr@dev@perf_actions_build #36

Merge pull request #34 from jumpserver/pr@dev@perf_actions_build

Merge pull request #34 from jumpserver/pr@dev@perf_actions_build #36

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