workflows: use variable tags for the stable build

This will make it easier to do some testing while I make sure that
this build is correct.
pull/1109/head
Jordi Gutiérrez Hermoso 2 months ago committed by jordigh
parent b6e48abf66
commit aafc9baac8

@ -5,6 +5,16 @@ on:
types: [published] types: [published]
# Allows you to run this workflow manually from the Actions tab # Allows you to run this workflow manually from the Actions tab
workflow_dispatch: workflow_dispatch:
inputs:
tag:
description: "Tag for the resulting images"
type: string
required: True
default: 'stable'
env:
TAG: ${{ inputs.tag || 'stable' }}
DOCKER_HUB_OWNER: ${{ vars.DOCKER_HUB_OWNER || github.repository_owner }}
jobs: jobs:
push_to_registry: push_to_registry:
@ -47,7 +57,7 @@ jobs:
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}} type=semver,pattern={{major}}
stable ${{ env.TAG }}
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v1

Loading…
Cancel
Save