Merge pull request #7214 from Budibase/revert-release-selfhost-changes

Revert to using branches only for selfhost release
This commit is contained in:
Rory Powell 2022-08-10 20:55:25 +01:00 committed by GitHub
commit 3b36c187c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 14 deletions

View File

@ -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
release_version=$(cat lerna.json | jq -r '.version')
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