-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from OpenVisualCloud/wangjingz-patch-3
Create ubuntu-build-docker.yml
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Build Dockerfiles Ubuntu | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 180 | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build the Docker image | ||
# run: docker build . --file Dockerfile --tag my-image-name:$(date +%s) | ||
run: | | ||
sudo mkdir -p /etc/systemd/system/docker.service.d | ||
sudo systemctl daemon-reload | ||
sudo systemctl restart docker | ||
cd ./ivsr_ffmpeg_plugin | ||
./build_docker.sh --enable_ov_patch true --ov_version 2022.3 |