Hi! Is there any sample around on how to 1. Use E...
# esc
f
Hi! Is there any sample around on how to 1. Use ESC from GitHub Actions 2. Use ESC/Pulumi to sync ESC secrets to GitHub Actions secrets
p
Hi Brunner, Syncing ESC secrets to Github Actions is a planned feature. Please up vote the github issue here: https://github.com/pulumi/esc/issues/58 We'll circle back on using ESC from GitHub Actions.
f
Thanks!
g
@flat-truck-22555 we use ESC from github actions, here’s an example
Copy code
- name: Install Pulumi ESC
        run: |
          curl -fsSL <https://get.pulumi.com/esc/install.sh> | sh
          echo "/home/runner/.pulumi/bin" >> $GITHUB_PATH
      - name: ESC login
        run: esc login
        env:
          PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
      - name: Docker login to ECR
        run: esc run aws-ecr -- aws ecr get-login-password | docker login --username AWS --password-stdin <our repo>