mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
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.
This commit is contained in:
parent
b6e48abf66
commit
aafc9baac8
12
.github/workflows/docker.yml
vendored
12
.github/workflows/docker.yml
vendored
@ -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…
Reference in New Issue
Block a user