diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f5615fc..dedd23b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,4 +58,6 @@ 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 }}:latest + tagged_image=$(docker images --filter 'reference=dockcross/${{ matrix.arch_name }}:20*' --format "{{.Repository}}:{{.Tag}}" | head -n1) + docker image push ${tagged_image}