Skip to content

v0.8.5

v0.8.5 #55

Workflow file for this run

# Copyright 2020 Soluble Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: iac-dev-component
on:
release:
types: [ published ]
jobs:
component-workflow:
runs-on: ubuntu-latest
steps:
- name: Invoke iac dev component workflow
run: |
if [[ "${GITHUB_REF_TYPE}" = "tag" ]]; then
TAG_NAME=$(echo ${GITHUB_REF} | awk -F/ '{ print $3 }')
gh workflow run ReceiveTagEvent --repo github.com/lacework-dev/soluble-cli --ref main --field src_repo=soluble-ai/soluble-cli --field tag_version=${TAG_NAME}
fi
env:
GH_TOKEN: ${{ secrets.LW_DEV_CLI_COMPONENTS_TOKEN }}
- name: Report Status
if: failure()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.IAC_SLACK_WEBHOOK }}
SLACK_MESSAGE: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
SLACK_COLOR: ${{ job.status }}