Skip to content

Commit

Permalink
ci: allow changing Git ref name in docker (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
melekes authored Jan 30, 2025
1 parent 5dc4ece commit 2d98c2d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
name: Docker testing image
on:
workflow_dispatch: # allow running workflow manually
inputs:
refName:
description: 'Git ref name'
required: true
default: 'main'
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10
Expand Down Expand Up @@ -43,4 +48,4 @@ jobs:
push: true
tags: |
cometbft/cometbft-db-testing:latest
cometbft/cometbft-db-testing:${{ github.ref_name }}
cometbft/cometbft-db-testing:${{ github.event.inputs.refName }}

0 comments on commit 2d98c2d

Please sign in to comment.