From c16b93847ade84efaae45c68c103acb0207b82df Mon Sep 17 00:00:00 2001 From: Ben Potter Date: Thu, 2 Feb 2023 19:01:06 -0600 Subject: [PATCH] feat: build Packer images every release (#6009) --- .github/workflows/release.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f33aaa0d9d..11544ee6cb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -333,3 +333,11 @@ jobs: # For gh CLI. We need a real token since we're commenting on a PR in a # different repo. GH_TOKEN: ${{ secrets.CDRCI_GITHUB_TOKEN }} + + - name: Start Packer builds + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.CDRCI_GITHUB_TOKEN }} + repository: coder/packages + event-type: coder-release + client-payload: '{"coder_version": "${{ needs.release.outputs.version }}"}'