Skip to content

replace tag. mentions for new SRG version #85

replace tag. mentions for new SRG version

replace tag. mentions for new SRG version #85

name: build-and-release
on:
push:
branches:
- "dev"
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- id: build-cli
name: "Build CLI from code"
uses: ./.github/actions/build-cli
with:
build-dir: "./cli"
- id: build-push-container
name: Build and push docker images DockerHub
uses: ./.github/actions/build-push-docker
with:
docker-folder: ./cli
user: ${{ secrets.DOCKERHUB_USER }}
token: ${{ secrets.DOCKERHUB_TOKEN }}
repo-url: ${{ secrets.TARGET_REPO_URL }}
description: "CLI to integrate Dynatrace with other CICD and automation platforms"
readmepath: "README.md"
- id: release-github
name: Create GitHub Release
uses: ./.github/actions/github-release
with:
cli-files: ./cli/executables/dta*
release-docs: README.md
test-cli-workflow:
needs: build
uses: ./.github/workflows/demo-pipeline-srg.yml
with:
DYNATRACE_URL_GEN3: ${{ secrets.DYNATRACE_URL_GEN3 }}

Check failure on line 40 in .github/workflows/build-and-release.yml

View workflow run for this annotation

GitHub Actions / build-and-release

Invalid workflow file

The workflow is not valid. .github/workflows/build-and-release.yml (Line: 40, Col: 27): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.DYNATRACE_URL_GEN3

Check failure on line 40 in .github/workflows/build-and-release.yml

View workflow run for this annotation

GitHub Actions / build-and-release

Invalid workflow file

The workflow is not valid. .github/workflows/build-and-release.yml (Line: 40, Col: 27): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.DYNATRACE_URL_GEN3
secrets: inherit