Merge pull request #15993 from openshift-cnv/add_v4.15.9.rhel9-52 #36427
This file contains 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: Sanity Checks | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Sanity Checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Prepare auth file | |
run: echo ${AUTH_FILE_CONTENT} | base64 -d > ${REGISTRY_AUTH_FILE} | |
env: | |
AUTH_FILE_CONTENT: ${{ secrets.BREW_AUTH }} | |
REGISTRY_AUTH_FILE: ./auth.json | |
- name: Get opm clients | |
run: | | |
source opm_utils.sh | |
download_opm_client | |
mkdir -p .docker | |
cp auth.json .docker/config.json | |
- name: Do sanity checks | |
run: | | |
export PATH=$(pwd):${PATH} | |
make sanity-brew | |
env: | |
REGISTRY_AUTH_FILE: ./auth.json | |
SKOPEO_CMD: podman run --dns=8.8.8.8 --rm -v .:/auth quay.io/skopeo/stable:latest | |
AUTH_FILE: --authfile=/auth/auth.json | |
OPM_CMD: ./linux-amd64-opm | |
DOCKER_CONFIG: .docker/ |