File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 2323 with :
2424 username : ${{ secrets.DOCKERHUB_USERNAME }}
2525 password : ${{ secrets.DOCKERHUB_TOKEN }}
26+ - name : free disk space
27+ run : |
28+ sudo swapoff -a
29+ sudo rm -f /swapfile
30+ docker rmi $(docker image ls -aq)
2631 - name : Build and push Docker image
2732 id : docker_build
2833 uses : docker/build-push-action@v2
Original file line number Diff line number Diff line change 3535 images : opendronemap/odm
3636 tag-semver : |
3737 {{version}}
38+ - name : free disk space
39+ run : |
40+ sudo swapoff -a
41+ sudo rm -f /swapfile
42+ docker rmi $(docker image ls -aq)
3843 - name : Build and push Docker image
3944 id : docker_build
4045 uses : docker/build-push-action@v2
5055 - name : Dispatch NodeODM Build Event
5156 id : nodeodm_dispatch
5257 run : |
53- curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/OpenDroneMap/NodeODM/actions/workflows/publish-docker.yaml/dispatches --data '{"ref": "master"}'
58+ curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/OpenDroneMap/NodeODM/actions/workflows/publish-docker.yaml/dispatches --data '{"ref": "master"}'
You can’t perform that action at this time.
0 commit comments