Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
luukleenders committed Dec 23, 2024
1 parent 11abcee commit aef4a45
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
name: Docker build and push

on:
workflow_dispatch:
inputs:
platform:
description: Platforms to build for
required: true
type: choice
options:
- "linux/amd64, linux/arm64"
workflow_call:
inputs:
platform:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/manual-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Manual Docker build and push

on:
workflow_dispatch:

permissions:
contents: read

jobs:
build:
name: Build
uses: ./.github/workflows/build-rust.yml
secrets: inherit
with:
platform: 'linux/amd64, linux/arm64'
release: false
upload_url: ${{ needs.prepare.outputs.upload_url }}

docker:
name: Docker
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' }}
needs: [build]
uses: ./.github/workflows/build-docker.yml
secrets: inherit
with:
platform: 'linux/amd64, linux/arm64'
version: ${{ needs.prepare.outputs.next_version }}

0 comments on commit aef4a45

Please sign in to comment.