diff --git a/.github/workflows/on-push-master.yml b/.github/workflows/on-push-master.yml index d12d75d..8b21933 100644 --- a/.github/workflows/on-push-master.yml +++ b/.github/workflows/on-push-master.yml @@ -60,3 +60,11 @@ jobs: --tag ${{ secrets.DOCKER_HUB_USER }}/$DOCKER_HUB_REPO:master-$SHORTSHA \ --output "type=registry" . + - name: Build against latest tag + run: | + docker buildx build \ + --cache-from "type=local,src=/tmp/.buildx-cache" \ + --cache-to "type=local,dest=/tmp/.buildx-cache" \ + --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 \ + --tag ${{ secrets.DOCKER_HUB_USER }}/$DOCKER_HUB_REPO:latest \ + --output "type=registry" .