Update build-container-and-wsl.yaml

Fix up changes to the workflow I accidentally up-streamed, and commented out lines I added, restoring original opendronemap/odm docker entries.

My branch remains in the comments for easy toggling on/off for testing as needed.
pull/1205/head
Saijin-Naib 2020-11-15 22:29:36 -05:00 zatwierdzone przez GitHub
rodzic 6e7899c034
commit 9ae8172cab
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 11 dodań i 5 usunięć

Wyświetl plik

@ -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