Skip to content

Merge remote-tracking branch 'origin' into alpha #56

Merge remote-tracking branch 'origin' into alpha

Merge remote-tracking branch 'origin' into alpha #56

Workflow file for this run

#*********************************************************************
# Copyright (c) Intel Corporation 2023
# SPDX-License-Identifier: Apache-2.0
#*********************************************************************/
# This workflow will release new versions when required using semantic-release
name: Semantic-Release CI
on:
push:
branches: [alpha]
permissions:
contents: read
jobs:
release:
permissions:
contents: write # for Git to git push
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: Checkout Console
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
persist-credentials: false
- name: Check out Sample Web UI
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # master
with:
repository: open-amt-cloud-toolkit/sample-web-ui
ref: main
path: ./temp
- run: npm ci
working-directory: ./temp
- run: npm run build-enterprise
working-directory: ./temp
- name: move files
run: mv ./temp/ui/* ./internal/controller/http/ui
- name: Docker Login
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: vprodemo.azurecr.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
logout: true
- name: Semantic Release
uses: cycjimmy/semantic-release-action@b1b432f13acb7768e0c8efdec416d363a57546f2 # v4.1.1
with:
semantic_version:
19.0.5 # It is recommended to specify a version range
# for semantic-release when using
# semantic-release-action lower than @v3
extra_plugins: |
@semantic-release/exec@6.0.3
env:
GITHUB_TOKEN: ${{ secrets.ROSIE_TOKEN }}