Skip to content

ui-release

ui-release #22

Workflow file for this run

#
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Huawei Inc.
#
name: ui-release
on:
workflow_dispatch:
inputs:
ReleaseType:
type: choice
description: Select the version to released
options:
- major
- minor
- patch
env:
BOT_USER_NAME: eclipse-xpanse-bot
BOT_EMAIL_ID: [email protected]
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'eclipse-xpanse/xpanse-ui'
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.BOT_GITHUB_TOKEN }}
- name: git config
run: |
git config user.name ${{ env.BOT_USER_NAME }}
git config user.email ${{ env.BOT_EMAIL_ID }}