git push via ssh will not work #3

Closed
opened 2023-11-17 09:13:59 -05:00 by chris · 1 comment
Owner

...without doing something fun with networking again. er4 already redirecting ssh to gitlab.

...without doing something fun with networking again. er4 already redirecting ssh to gitlab.
chris self-assigned this 2023-11-17 09:13:59 -05:00
Author
Owner

This works and is a viable solution until Gitlab is retired, or at least SSH pushes are:

  - name: Update repo with build stats
    image: appleboy/drone-git-push
    settings:
      branch: testing
      remote: gitea@10.10.10.109:chris/drone-test-1.git
      force: false
      commit: true
      empty_commit: true
      commit_message: "Drone build ${DRONE_COMMIT_SHA:0:7} => ${DRONE_BUILD_STATUS}"
      author_name: "Drone CI"
      author_email: "chris@thezengarden.net"
      skip_verify: true
      ssh_key:
        from_secret: gitea_ssh_privkey
    when:
      branch:
        - development
This works and is a viable solution until Gitlab is retired, or at least SSH pushes are: ``` - name: Update repo with build stats image: appleboy/drone-git-push settings: branch: testing remote: gitea@10.10.10.109:chris/drone-test-1.git force: false commit: true empty_commit: true commit_message: "Drone build ${DRONE_COMMIT_SHA:0:7} => ${DRONE_BUILD_STATUS}" author_name: "Drone CI" author_email: "chris@thezengarden.net" skip_verify: true ssh_key: from_secret: gitea_ssh_privkey when: branch: - development ```
chris closed this issue 2023-11-19 17:08:54 -05:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: chris/drone-test-1#3
No description provided.