Update push-docker.yml

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

View File

@ -41,25 +41,11 @@ jobs:
- name: Build and push amd64
uses: docker/build-push-action@v3
if: github.ref == 'refs/heads/armSupport'
with:
context: .
push: true
platforms: "linux/amd64"
tags: |
frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }}
- name: Build and push linux/arm64/v8
uses: docker/build-push-action@v3
if: github.ref == 'refs/heads/armSupport'
with:
context: .
push: true
platforms: "linux/arm64/v8"
tags: |
frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }}
run: |
docker buildx build --platform=linux/amd64,linux/amd64/v8 --push --tag frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }}
- name: Build and push