Update push-docker.yml

This commit is contained in:
Anthony Stirling 2023-02-05 22:33:45 +00:00 committed by GitHub
parent aed28c0ace
commit eaa2c81df3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,13 +60,13 @@ jobs:
docker buildx use mybuilder
- name: Build and push versioned amd64 and v8
if: github.ref == 'refs/heads/main' and env.JOB_END_EARLY != true
if: github.ref == 'refs/heads/main' && env.JOB_END_EARLY != true
run: |
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
if: github.ref == 'refs/heads/master' and env.JOB_END_EARLY != true
if: github.ref == 'refs/heads/master' && env.JOB_END_EARLY != true
run: |
docker buildx build --platform="linux/amd64,linux/arm64/v8" --push --tag "frooodle/s-pdf:latest" .