Improve Makefile

Since docker 1.10, It is possible to put several tags during build

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2021-06-25 15:21:18 +02:00
parent 35eb05cefe
commit 66b9c2b62c
2 changed files with 18 additions and 70 deletions

View File

@ -32,7 +32,7 @@ jobs:
if: github.ref == 'refs/heads/master'
run: |
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
docker image push dockcross/base
docker image push dockcross/base --all-tags
image:
name: ${{ matrix.arch_name }}
@ -58,4 +58,4 @@ jobs:
if: github.ref == 'refs/heads/master'
run: |
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
docker image push dockcross/${{ matrix.arch_name }}
docker image push dockcross/${{ matrix.arch_name }} --all-tags