mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-25 02:51:57 +01:00
💚 Add workflow dispatcher
This commit is contained in:
parent
0975925e23
commit
edebcdb827
10
.github/workflows/docker-dev.yml
vendored
10
.github/workflows/docker-dev.yml
vendored
@ -10,8 +10,11 @@ on:
|
|||||||
- '.github/**'
|
- '.github/**'
|
||||||
- 'images/'
|
- 'images/'
|
||||||
- '*.md'
|
- '*.md'
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
tag:
|
||||||
|
required: false
|
||||||
|
description: 'Tag to deploy to'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Use docker.io for Docker Hub if empty
|
# Use docker.io for Docker Hub if empty
|
||||||
@ -51,8 +54,9 @@ jobs:
|
|||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
# generate Docker tags based on the following events/attributes
|
# generate Docker tags based on the following events/attributes
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=dev
|
type=ref,event=pr
|
||||||
type=pep440,pattern={{version}}
|
type=raw,value=${{ github.event.inputs.tag }}, prefix=test-,enable=${{ github.event.inputs.tag != '' }}
|
||||||
|
tpye=raw,value=dev,priority=1,enable=${{ github.event.inputs.tag == '' }}
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
|
Loading…
Reference in New Issue
Block a user