Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add platforms option to docker push action #73

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/docker-push-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ on:
docker_image_tag:
type: string
required: true
target_platforms:
type: string
default: local
use_ssh:
type: boolean
default: false
Expand Down Expand Up @@ -86,6 +89,7 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
ssh: ${{ steps.set_ssh.outputs.ssh }}
platforms: ${{ inputs.target_platforms }}

- name: Build and push (without cache)
if: ${{ ! inputs.cache_docker_layers }}
Expand Down