replace tag. mentions for new SRG version #85
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / build-and-releaseInvalid workflow file
Check failure on line 40 in .github/workflows/build-and-release.yml GitHub Actions / build-and-releaseInvalid workflow file
|
||
secrets: inherit |