Skip to content

Merge pull request #242 from open-amt-cloud-toolkit/dependabot/docker… #67

Merge pull request #242 from open-amt-cloud-toolkit/dependabot/docker…

Merge pull request #242 from open-amt-cloud-toolkit/dependabot/docker… #67

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: [ main ]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Docker Login
if: ${{ github.ref == 'refs/heads/main' }}
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: vprodemo.azurecr.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
logout: true
- name: Semantic Release
uses: cycjimmy/semantic-release-action@61680d0e9b02ff86f5648ade99e01be17f0260a4 # v4.0.0
with:
semantic_version: 19.0.5 # It is recommended to specify specifying version range
# for semantic-release.
extra_plugins: |
@semantic-release/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}