Merge pull request #7214 from Budibase/revert-release-selfhost-changes
Revert to using branches only for selfhost release
This commit is contained in:
commit
92ffcd638f
1 changed files with 1 additions and 14 deletions
13
.github/workflows/release-selfhost.yml
vendored
13
.github/workflows/release-selfhost.yml
vendored
|
@ -2,10 +2,6 @@ name: Budibase Release Selfhost
|
|||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: Budibase release version. For example - 1.0.0
|
||||
required: false
|
||||
|
||||
env:
|
||||
BRANCH: ${{ github.event.pull_request.head.ref }}
|
||||
|
@ -30,18 +26,9 @@ jobs:
|
|||
- name: Get the latest budibase release version
|
||||
id: version
|
||||
run: |
|
||||
if [ -z "${{ github.event.inputs.version }}" ]; then
|
||||
release_version=$(cat lerna.json | jq -r '.version')
|
||||
else
|
||||
release_version=${{ github.event.inputs.version }}
|
||||
fi
|
||||
echo "RELEASE_VERSION=$release_version" >> $GITHUB_ENV
|
||||
|
||||
- name: Checkout tag
|
||||
run: |
|
||||
git fetch --tags
|
||||
git checkout v${{ env.RELEASE_VERSION }}
|
||||
|
||||
- name: Tag and release Docker images (Self Host)
|
||||
run: |
|
||||
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
|
||||
|
|
Loading…
Reference in a new issue