VCST-1109: Add publish tag #926
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
# v3.800.7 | ||
# https://virtocommerce.atlassian.net/browse/VCST-1109 | ||
name: Platform PR build | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: [ master, dev ] | ||
paths-ignore: | ||
- '.github/**' | ||
- 'docs/**' | ||
- 'build/**' | ||
- 'README.md' | ||
- 'LICENSE' | ||
- '**/argoDeploy.json' | ||
- '**/cloudDeploy.json' | ||
jobs: | ||
test: | ||
uses: VirtoCommerce/.github/.github/workflows/test-and-sonar.yml@v3.800.7 | ||
secrets: | ||
sonarToken: ${{ secrets.SONAR_TOKEN }} | ||
build: | ||
uses: VirtoCommerce/.github/.github/workflows/build.yml@v3.800.7 | ||
Check failure on line 25 in .github/workflows/pr-ci.yml
|
||
with: | ||
uploadDocker: 'true' | ||
secrets: | ||
envPAT: ${{ secrets.REPO_TOKEN }} | ||
publish-tag: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }} | ||
steps: | ||
- name: publish-tag | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: VirtoCommerce/vc-github-actions/publish-artifact-link@master | ||
with: | ||
artifactUrl: ${{ needs.build.outputs.imageTag}} | ||
repoOrg: ${{ github.repository_owner }} | ||
downloadComment: 'Image tag:' | ||
githubToken: ${{ env.GITHUB_TOKEN }} |