kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Do not expose --copy-to (#154)
* Do not expose --copy-to * Bump version * set build context * Fix device is not a tty in test run * Push test to local registry * Try 0.0.0.0 * Add registrypull/155/head
rodzic
1d911a73fc
commit
d80ec213c6
|
@ -6,6 +6,11 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
services:
|
||||||
|
registry:
|
||||||
|
image: registry:2
|
||||||
|
ports:
|
||||||
|
- 5000:5000
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -13,12 +18,15 @@ jobs:
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
with:
|
||||||
|
driver-opts: network=host
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
|
context: .
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: false
|
push: true
|
||||||
tags: opendronemap/nodeodm:test
|
tags: localhost:5000/opendronemap/nodeodm:test
|
||||||
- name: Test Powercycle
|
- name: Test Powercycle
|
||||||
run: |
|
run: |
|
||||||
docker run -ti --rm opendronemap/nodeodm:test --powercycle
|
docker run --rm localhost:5000/opendronemap/nodeodm:test --powercycle
|
||||||
|
|
|
@ -83,7 +83,7 @@ module.exports = {
|
||||||
if (["-h", "--project-path", "--cmvs-maxImages", "--time",
|
if (["-h", "--project-path", "--cmvs-maxImages", "--time",
|
||||||
"--zip-results", "--pmvs-num-cores",
|
"--zip-results", "--pmvs-num-cores",
|
||||||
"--start-with", "--gcp", "--images", "--geo",
|
"--start-with", "--gcp", "--images", "--geo",
|
||||||
"--split-image-groups",
|
"--split-image-groups", "--copy-to",
|
||||||
"--rerun-all", "--rerun",
|
"--rerun-all", "--rerun",
|
||||||
"--slam-config", "--video", "--version", "name"].indexOf(option) !== -1) continue;
|
"--slam-config", "--video", "--version", "name"].indexOf(option) !== -1) continue;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "NodeODM",
|
"name": "NodeODM",
|
||||||
"version": "2.1.5",
|
"version": "2.1.6",
|
||||||
"description": "REST API to access ODM",
|
"description": "REST API to access ODM",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Ładowanie…
Reference in New Issue