diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 59ea0b7..47c7486 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -2,6 +2,11 @@ name: Docker on: workflow_dispatch: + inputs: + platforms: + description: 'Platforms to build the container for' + required: true + default: 'linux/amd64,linux/arm/v7,linux/arm64' jobs: multi: @@ -35,7 +40,7 @@ jobs: with: context: . file: ./Dockerfile - platforms: linux/amd64,linux/arm/v7,linux/arm64 + platforms: ${{github.events.inputs.platforms}} push: true tags: | trivernis/snekcloud-server:alpine \ No newline at end of file