Update git action

This commit is contained in:
Bensuperpc 2021-05-07 20:09:15 +02:00
parent ddae14a07f
commit ef6f540136

View File

@ -5,6 +5,9 @@ on:
branches: branches:
- 'master' - 'master'
- 'dev' - 'dev'
paths-ignore:
- '**/README.md'
- '**/README.rst'
pull_request: pull_request:
branches: branches:
- '*' - '*'
@ -60,3 +63,6 @@ jobs:
run: | run: |
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }} docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
docker image push dockcross/${{ matrix.arch_name }} docker image push dockcross/${{ matrix.arch_name }}
# Docker images need to remove after deploy or tests, not enough memory to build all images on github action (14 GB of SSD)
- name: clean
run: docker image rm -f dockcross/${{ matrix.arch_name }}