ci: allow publish from branch (#228)

This commit is contained in:
Adam Uhlíř 2022-11-16 05:41:55 -08:00 committed by GitHub
parent 9689632eea
commit fa4533d2cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,10 @@ on:
stateCommit: stateCommit:
description: 'The images will have cheques by the traffic generation' description: 'The images will have cheques by the traffic generation'
default: 'false' default: 'false'
branch:
description: 'Branch of this repo to build (default "master")'
default: master
required: false
push: push:
branches: branches:
- 'master' - 'master'
@ -45,6 +49,8 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.branch }}
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2