From 29e8a5b5ca0b6f7e102440d1fa51e6c653331790 Mon Sep 17 00:00:00 2001 From: Dan Webb Date: Tue, 15 Sep 2026 11:26:46 +0100 Subject: [PATCH] ci: publish cookbooks as OCI artifacts --- .github/workflows/ci.yml | 6 +++--- .github/workflows/conventional-commits.yml | 2 +- .github/workflows/copilot-setup-steps.yml | 2 +- .github/workflows/prevent-file-change.yml | 2 +- .github/workflows/release.yml | 4 +++- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c4f599..052c015 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ name: ci jobs: lint-unit: - uses: sous-chefs/.github/.github/workflows/lint-unit.yml@9.0.0 + uses: sous-chefs/.github/.github/workflows/lint-unit.yml@main permissions: checks: write pull-requests: write @@ -46,7 +46,7 @@ jobs: - name: Check out code uses: actions/checkout@v7 - name: Install Chef - uses: sous-chefs/.github/.github/actions/install-workstation@9.0.0 + uses: sous-chefs/.github/.github/actions/install-workstation@main - name: Dokken uses: actionshub/test-kitchen@3.0.0 env: @@ -78,7 +78,7 @@ jobs: - name: Check out code uses: actions/checkout@v7 - name: Install Chef - uses: sous-chefs/.github/.github/actions/install-workstation@9.0.0 + uses: sous-chefs/.github/.github/actions/install-workstation@main - name: test-kitchen uses: actionshub/test-kitchen@3.0.0 env: diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml index 08ba187..88afb87 100644 --- a/.github/workflows/conventional-commits.yml +++ b/.github/workflows/conventional-commits.yml @@ -11,6 +11,6 @@ name: conventional-commits jobs: conventional-commits: - uses: sous-chefs/.github/.github/workflows/conventional-commits.yml@9.0.0 + uses: sous-chefs/.github/.github/workflows/conventional-commits.yml@main permissions: pull-requests: read diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 326a6bd..50e98a4 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -19,6 +19,6 @@ jobs: - name: Check out code uses: actions/checkout@v7 - name: Install Chef - uses: sous-chefs/.github/.github/actions/install-workstation@9.0.0 + uses: sous-chefs/.github/.github/actions/install-workstation@main - name: Install cookbooks run: chef install Policyfile.rb diff --git a/.github/workflows/prevent-file-change.yml b/.github/workflows/prevent-file-change.yml index bdc9030..fc90f8b 100644 --- a/.github/workflows/prevent-file-change.yml +++ b/.github/workflows/prevent-file-change.yml @@ -11,7 +11,7 @@ name: prevent-file-change jobs: prevent-file-change: - uses: sous-chefs/.github/.github/workflows/prevent-file-change.yml@9.0.0 + uses: sous-chefs/.github/.github/workflows/prevent-file-change.yml@main permissions: pull-requests: write secrets: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21aedb0..bf35c8d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,9 @@ permissions: jobs: release: - uses: sous-chefs/.github/.github/workflows/release-cookbook.yml@9.0.0 + uses: sous-chefs/.github/.github/workflows/release-cookbook.yml@main + with: + publish_oci: true secrets: token: ${{ secrets.PORTER_GITHUB_TOKEN }} supermarket_user: ${{ secrets.CHEF_SUPERMARKET_USER }}