From 7a17b03d8663247391a6043863165665cc6f9c68 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Tue, 31 Jan 2023 18:05:39 +0000 Subject: [PATCH] Update push-docker.yml --- .github/workflows/push-docker.yml | 46 +++++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-docker.yml b/.github/workflows/push-docker.yml index 743eb84f0..54603d65f 100644 --- a/.github/workflows/push-docker.yml +++ b/.github/workflows/push-docker.yml @@ -40,16 +40,58 @@ jobs: password: ${{ secrets.DOCKER_HUB_API }} - - name: Build and push + - name: Build and push amd64 uses: docker/build-push-action@v3 if: github.ref == 'refs/heads/armSupport' with: context: . push: true - platforms: "linux/amd64,linux/arm,linux/arm/v6,linux/amd64,linux/386" + platforms: "linux/amd64" tags: | frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }} + - name: Build and push arm + uses: docker/build-push-action@v3 + if: github.ref == 'refs/heads/armSupport' + with: + context: . + push: true + platforms: "linux/arm" + tags: | + frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }} + + - name: Build and push 386 + uses: docker/build-push-action@v3 + if: github.ref == 'refs/heads/armSupport' + with: + context: . + push: true + platforms: "linux/386" + tags: | + frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }} + + - name: Build and push 386 + uses: docker/build-push-action@v3 + if: github.ref == 'refs/heads/armSupport' + with: + context: . + push: true + platforms: "linux/386" + tags: | + frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }} + + - name: Build and push arm/v6 + uses: docker/build-push-action@v3 + if: github.ref == 'refs/heads/armSupport' + with: + context: . + push: true + platforms: "linux/arm/v6" + tags: | + frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }} + + + - name: Build and push uses: docker/build-push-action@v3 if: github.ref == 'refs/heads/master'