feat: replace Crane usage for Image pull and Push with ORAS #16865
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate Docs and Schema | |
on: | |
pull_request: | |
merge_group: | |
permissions: | |
contents: read | |
jobs: | |
validate-docs-and-schema: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup golang | |
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0 | |
with: | |
go-version-file: go.mod | |
- name: Docs and schemas | |
run: "make test-docs-and-schema" | |
- name: Save logs | |
if: always() | |
uses: ./.github/actions/save-logs | |
- name: Instruct user to fix | |
if: failure() | |
run: echo "Please run 'make docs-and-schema' at the root of the repo and commit the changes to your pull request" |