mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
Sets branch variable correctly
This commit is contained in:
parent
2687475ed0
commit
91858353c2
7
.github/workflows/docker_latest.yml
vendored
7
.github/workflows/docker_latest.yml
vendored
@ -11,11 +11,11 @@ on:
|
||||
- cron: '41 5 * * *'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
latest_branch:
|
||||
branch:
|
||||
description: "Branch from which to create the latest Docker image (default: latest_candidate)"
|
||||
type: string
|
||||
required: true
|
||||
default: ${{ github.repository_owner }}/${{github.ref_name}}
|
||||
default: latest_candidate
|
||||
disable_tests:
|
||||
description: "Should the tests be skipped?"
|
||||
type: boolean
|
||||
@ -37,6 +37,7 @@ on:
|
||||
default: 'experimental'
|
||||
|
||||
env:
|
||||
BRANCH: ${{ github.repository_owner }}/${{ inputs.branch }}
|
||||
PLATFORMS: ${{ inputs.platforms || 'linux/amd64,linux/arm64/v8' }}
|
||||
TAG: ${{ inputs.tag || 'experimental' }}
|
||||
DOCKER_HUB_OWNER: ${{ vars.DOCKER_HUB_OWNER || github.repository_owner }}
|
||||
@ -60,7 +61,7 @@ jobs:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.latest_branch }}
|
||||
ref: ${{ env.BRANCH }}
|
||||
|
||||
- name: Check out the ext/ directory
|
||||
if: matrix.image.name != 'grist-oss'
|
||||
|
Loading…
Reference in New Issue
Block a user