Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
VP-6039: Add branch name to artifact name
Browse files Browse the repository at this point in the history
Related VDS-220
  • Loading branch information
mvktsk committed Nov 26, 2020
1 parent 2af2a48 commit 6e8cdcb
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
BLOB_SAS: ${{ secrets.BLOB_TOKEN }}
PUBLISH_TO_DOCKER: "false"
UPDATE_LATEST_TAG: "true"
VERSION_SUFFIX: ""

steps:

Expand Down Expand Up @@ -59,11 +60,20 @@ jobs:
id: changelog
uses: VirtoCommerce/vc-github-actions/changelog-generator@master

- name: Set release variables
run: |
echo "VERSION_SUFFIX=${{ steps.image.outputs.suffix }}" >> $GITHUB_ENV
- name: Set release-alpha variables
if: ${{ github.event_name == 'workflow_dispatch' }}
run: |
echo "VERSION_SUFFIX=${{ steps.image.outputs.fullSuffix }}" >> $GITHUB_ENV
- name: Add version suffix
if: ${{ github.ref != 'refs/heads/master' }}
uses: VirtoCommerce/vc-github-actions/add-version-suffix@master
with:
versionSuffix: ${{ steps.image.outputs.suffix }}
versionSuffix: ${{ env.VERSION_SUFFIX }}

- name: SonarCloud Begin
uses: VirtoCommerce/vc-github-actions/sonar-scanner-begin@master
Expand Down

0 comments on commit 6e8cdcb

Please sign in to comment.