Skip to content

Commit def119e

Browse files
authored
Revert "feat(ci): Use reusable workflow creation on Helm package (#775)" (#802)
Signed-off-by: Miguel Martinez Trivino <[email protected]>
1 parent 3968471 commit def119e

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

.github/workflows/package_chart.yaml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,14 @@ permissions:
1212
contents: read
1313

1414
jobs:
15-
# This reusable workflow inspects if the given workflow_name exists on Chainloop. If the Workflow does not exist
16-
# it will create one with an empty contract ready for operators to be filled. Otherwise, if found, it will just
17-
# be ignored and the process will continue. For this to work it's using a pre-created API Token
18-
onboard_workflow:
19-
name: Onboard Chainloop Workflow
20-
uses: chainloop-dev/labs/.github/workflows/chainloop_onboard.yml@4173e015dbd5dc2a8802555c268da63d57bbe576
21-
with:
22-
project: "chainloop"
23-
workflow_name: "chainloop-vault-helm-package"
24-
secrets:
25-
api_token: ${{ secrets.CHAINLOOP_API_TOKEN }}
26-
2715
package:
2816
name: Package and push Helm Chart
2917
runs-on: ubuntu-latest
30-
needs: onboard_workflow
3118
permissions:
3219
packages: write
3320
env:
34-
CHAINLOOP_VERSION: 0.87.2
35-
CHAINLOOP_TOKEN: ${{ secrets.CHAINLOOP_API_TOKEN }}
36-
CHAINLOOP_WORKFLOW_NAME: ${{ needs.onboard_workflow.outputs.workflow_name }}
21+
CHAINLOOP_VERSION: 0.86.0
22+
CHAINLOOP_ROBOT_ACCOUNT: ${{ secrets.CHAINLOOP_ROBOT_ACCOUNT_CHART_PACKAGE }}
3723
steps:
3824
- name: Install Chainloop
3925
run: |
@@ -53,7 +39,7 @@ jobs:
5339

5440
- name: Initialize Attestation
5541
run: |
56-
chainloop attestation init --workflow-name ${CHAINLOOP_WORKFLOW_NAME}
42+
chainloop attestation init
5743
5844
- name: Package Chart
5945
run: helm package deployment/chainloop/

0 commit comments

Comments
 (0)