https://pulumi.com logo
#esc
Title
# esc
f

flat-truck-22555

01/11/2024, 1:21 PM
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

plain-diamond-92898

01/11/2024, 5:02 PM
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

flat-truck-22555

01/12/2024, 2:50 AM
Thanks!
g

gifted-balloon-26385

01/12/2024, 4:59 PM
@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>