Update push-docker.yml

This commit is contained in:
Anthony Stirling 2023-01-31 18:13:44 +00:00 committed by GitHub
parent 7a17b03d86
commit 0bd2f6a752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,46 +50,16 @@ jobs:
tags: | tags: |
frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }} frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }}
- name: Build and push arm - name: Build and push linux/arm64/v8
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
if: github.ref == 'refs/heads/armSupport' if: github.ref == 'refs/heads/armSupport'
with: with:
context: . context: .
push: true push: true
platforms: "linux/arm" platforms: "linux/arm64/v8"
tags: | tags: |
frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }} 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 - name: Build and push