opiproject / opi-poc

Developer Platform and PoC Work
Apache License 2.0
16 stars 30 forks source link

integrate github self hosted runners with 1 Password #900

Open mgheorghe opened 9 months ago

mgheorghe commented 9 months ago

tried some samples, but i may not have access to create a service account so i can have the service access token. will be good if someone with 1Password access, can create the service access token and put it in github

https://developer.1password.com/docs/ci-cd/github-actions/ https://developer.1password.com/docs/service-accounts/get-started/

        #   uses: 1password/load-secrets-action@v1
        #   with:
        #     export-env: true 
        #   env:
        #     OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
        #     SERVER_IP: op://opi-lab/tgen1/URL
        #     SERVER_USER: op://opi-lab/tgen1/username
        #     SERVER_PASS: op://opi-lab/tgen1/password