Update push-docker.yml

This commit is contained in:
Anthony Stirling 2023-01-31 19:39:21 +00:00 committed by GitHub
parent 218c950857
commit 856e4efbfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,6 @@ on:
branches: branches:
- master - master
- main - main
- armSupport
jobs: jobs:
push: push:
@ -45,14 +44,14 @@ jobs:
docker buildx use mybuilder docker buildx use mybuilder
- name: Build and push versioned amd64 and v8 - name: Build and push versioned amd64 and v8
if: github.ref == 'refs/heads/armSupport' if: github.ref == 'refs/heads/main'
run: | run: |
docker buildx build --platform="linux/amd64,linux/amd64/v8" --push --tag "frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }}" . docker buildx build --platform="linux/amd64,linux/arm64/v8" --push --tag "frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }}" .
- name: Build and push latest amd64 and v8 - name: Build and push latest amd64 and v8
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
run: | run: |
docker buildx build --platform="linux/amd64,linux/amd64/v8" --push --tag "frooodle/s-pdf:latest" . docker buildx build --platform="linux/amd64,linux/arm64/v8" --push --tag "frooodle/s-pdf:latest" .