mirror of
https://github.com/kieraneglin/pinchflat.git
synced 2026-01-23 02:24:24 +00:00
Adds platform option when building docker containers
This commit is contained in:
parent
b18c305957
commit
ecc73d25a5
1 changed files with 5 additions and 1 deletions
6
.github/workflows/build_and_push_docker.yml
vendored
6
.github/workflows/build_and_push_docker.yml
vendored
|
|
@ -7,6 +7,10 @@ on:
|
|||
description: 'Docker Image Tag'
|
||||
required: true
|
||||
default: 'dev'
|
||||
platforms:
|
||||
description: 'Build Platforms'
|
||||
required: true
|
||||
default: 'linux/amd64,linux/arm64'
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
|
|
@ -27,7 +31,7 @@ jobs:
|
|||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
platforms: ${{ github.event.inputs.platforms }}
|
||||
push: true
|
||||
file: ./selfhosted.Dockerfile
|
||||
tags: 'keglin/pinchflat:${{ github.event.inputs.image_tag }}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue