Skip to content

Commit

Permalink
Update .push-to-artifactory.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
barrfalk committed Dec 18, 2023
1 parent 81ebfe8 commit e9ededb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/.push-to-artifactory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,7 @@ jobs:
# If here skip deployment
echo "No triggers have fired, deployment skipped"
- name: Push Helm Chart to Artifactory
env:
ARTIFACTORY_URL: ${{ vars.ARTIFACTORY_URL }} # Set this in your GitHub repo secrets
REPO_NAME: cdc0-briefcase-helm-local
ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }} # Set this in your GitHub repo secrets
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} # Set this in your GitHub repo secrets
- name: Package Helm Chart
if: ${{ steps.triggers.outputs.triggered == 'true' }}
working-directory: ${{ inputs.directory }}
shell: bash
Expand All @@ -106,7 +101,12 @@ jobs:
helm dependency update
helm package --app-version="${{ env.package_tag }}" --version=${{ inputs.tag }} .
- name: Push Helm chart to JFrog Artifactory
- name: Push Helm Chart to JFrog Artifactory
env:
ARTIFACTORY_URL: ${{ vars.ARTIFACTORY_URL }} # Set this in your GitHub repo secrets
REPO_NAME: cdc0-briefcase-helm-local
ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }} # Set this in your GitHub repo secrets
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} # Set this in your GitHub repo secrets
run: |
helm repo add myrepo ${{ secrets.ARTIFACTORY_URL }} --username ${{ secrets.ARTIFACTORY_USERNAME }} --password ${{ secrets.ARTIFACTORY_PASSWORD }}
helm push nr-compliance-enforcement-cm-*.tgz myrepo

0 comments on commit e9ededb

Please sign in to comment.