ci: Migrate worflow to using latest git-mirror-me-action revision

This has full support for env variables.

Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
This commit is contained in:
Andrei Gherzan 2022-05-18 20:17:26 +01:00
parent 62a84833d9
commit 260b3b97d0

View File

@ -14,9 +14,9 @@ jobs:
name: Yocto Git Mirror name: Yocto Git Mirror
runs-on: [self-hosted, Linux] runs-on: [self-hosted, Linux]
steps: steps:
- uses: agherzan/git-mirror-me-action@v1.0.0 - uses: agherzan/git-mirror-me-action@11f54c7186724daafbe5303b5075954f1a19a63e
env: env:
SSH_PRIVATE_KEY: ${{ secrets.YOCTO_META_RASPBERRYPI_SSH_PRIVATE_KEY }} GMM_SSH_PRIVATE_KEY: ${{ secrets.YOCTO_META_RASPBERRYPI_SSH_PRIVATE_KEY }}
SSH_KNOWN_HOSTS: ${{ secrets.YOCTO_META_RASPBERRYPI_SSH_KNOWN_HOSTS }} GMM_SSH_KNOWN_HOSTS: ${{ secrets.YOCTO_META_RASPBERRYPI_SSH_KNOWN_HOSTS }}
with: GMM_DST_REPO: "ssh://git@push.yoctoproject.org/meta-raspberrypi"
destination-repository: "git@push.yoctoproject.org:meta-raspberrypi" GMM_DEBUG: "1"