Skip to content

Commit

Permalink
ci: gitlab: sign the commit
Browse files Browse the repository at this point in the history
  • Loading branch information
skosukhin committed Jan 14, 2025
1 parent b638427 commit 25046d7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ jobs:
with:
remote-url: ${{ vars.DKRZ_GITLAB_SERVER }}/${{ vars.DKRZ_GITLAB_PROJECT }}.git
password: ${{ secrets.DKRZ_GITLAB_TOKEN }}
ref-type: tag
ref-message: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
rev-id: ${{ github.sha }}
rev-signing-format: ssh
rev-signing-key: ${{ secrets.GITLAB_SIGNING_KEY }}
ref-type: branch
force-push: true
- name: Trigger GitLab CI/CD Pipeline
id: gl-trigger-pipeline
Expand All @@ -50,7 +52,7 @@ jobs:
project-name: ${{ vars.DKRZ_GITLAB_PROJECT }}
token: ${{ secrets.DKRZ_GITLAB_TRIGGER_TOKEN }}
ref-name: ${{ steps.g-push-rev.outputs.ref-name }}
expected-sha: ${{ github.sha }}
expected-sha: ${{ steps.g-push-rev.outputs.ref-commit }}
attach:
runs-on: ubuntu-latest
needs: trigger
Expand Down

0 comments on commit 25046d7

Please sign in to comment.