mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-03 17:52:30 +02:00
Update push-docker.yml
This commit is contained in:
parent
44c217f364
commit
7e9fd0f4da
6
.github/workflows/push-docker.yml
vendored
6
.github/workflows/push-docker.yml
vendored
@ -55,19 +55,19 @@ jobs:
|
||||
|
||||
|
||||
- name: Setup buildx
|
||||
if: steps.checkIdExists.outcome == 'success'
|
||||
if: steps.checkIdExists.outcome != 'failure'
|
||||
run: |
|
||||
docker buildx create --name mybuilder
|
||||
docker buildx use mybuilder
|
||||
|
||||
- name: Build and push versioned amd64 and v8
|
||||
if: github.ref == 'refs/heads/main' && steps.checkIdExists.outcome == 'success'
|
||||
if: github.ref == 'refs/heads/main' && steps.checkIdExists.outcome != 'failure'
|
||||
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' && steps.checkIdExists.outcome == 'success'
|
||||
if: github.ref == 'refs/heads/master' && steps.checkIdExists.outcome != 'failure'
|
||||
run: |
|
||||
docker buildx build --platform="linux/amd64,linux/arm64/v8" --push --tag "frooodle/s-pdf:latest" .
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user