kopia lustrzana https://github.com/OpenDroneMap/ODM
commit
dbbd9dc9d0
|
@ -1,7 +1,7 @@
|
|||
name: Build and Release Container and WSL Image
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
#workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
@ -28,7 +28,8 @@ jobs:
|
|||
id: docker_meta
|
||||
uses: crazy-max/ghaction-docker-meta@v1
|
||||
with:
|
||||
images: synper311/odm
|
||||
#images: synper311/odm
|
||||
images: opendronemap/odm
|
||||
tag-edge: true
|
||||
tag-match-latest: \d{1,3}\.\d{1,3}\.\d\{1,3} # matches v1.2.3
|
||||
- name: Build and push Docker image
|
||||
|
@ -41,9 +42,14 @@ jobs:
|
|||
tags: ${{ steps.docker_meta.outputs.tags }}
|
||||
- name: Export WSL image
|
||||
id: wsl_export
|
||||
run: |
|
||||
docker pull synper311/odm
|
||||
docker export $(docker create synper311/odm) --output odm-wsl-rootfs-amd64.tar.gz
|
||||
#run: |
|
||||
#docker pull synper311/odm
|
||||
#docker export $(docker create synper311/odm) --output odm-wsl-rootfs-amd64.tar.gz
|
||||
#gzip odm-wsl-rootfs-amd64.tar.gz
|
||||
#echo ::set-output name=amd64-rootfs::"odm-wsl-rootfs-amd64.tar.gz"
|
||||
run: |
|
||||
docker pull opendronemap/odm
|
||||
docker export $(docker create opendronemap/odm) --output odm-wsl-rootfs-amd64.tar.gz
|
||||
gzip odm-wsl-rootfs-amd64.tar.gz
|
||||
echo ::set-output name=amd64-rootfs::"odm-wsl-rootfs-amd64.tar.gz"
|
||||
# Convert tag into a GitHub Release if we're building a tag
|
||||
|
|
Ładowanie…
Reference in New Issue