mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
Add manual Docker publishing trigger in GH action workflow
This commit is contained in:
parent
c5da8ea550
commit
4e96ca8376
2 changed files with 10 additions and 1 deletions
9
.github/workflows/publish.yml
vendored
9
.github/workflows/publish.yml
vendored
|
@ -1,6 +1,13 @@
|
|||
name: Publish Docker image
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
ref:
|
||||
description: 'Git ref (tag or commit SHA) to build'
|
||||
required: true
|
||||
type: string
|
||||
default: 'main'
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
@ -33,6 +40,8 @@ jobs:
|
|||
steps:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.inputs.ref || github.ref }}
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue