[SRVLOGIC-235] move maven plugins to plugin management and use go-offline option to make sure all deps are downloaded #11
Workflow file for this run
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: OSL Images PR check | |
on: pull_request | |
jobs: | |
validate_osl_imagestream: | |
concurrency: | |
group: ${{ github.repository.name }}_validate_osl_imagestream-${{ github.head_ref }} | |
cancel-in-progress: true | |
name: Validate OSL imagestreams | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download openshift-validator-tool | |
run: | | |
wget https://github.com/jboss-container-images/jboss-kie-modules/raw/main/tools/openshift-template-validator/openshift-template-validator-linux-amd64 | |
- name: Add execution permission to openshift-validator-tool | |
run: | | |
chmod +x openshift-template-validator-linux-amd64 | |
mv openshift-template-validator-linux-amd64 ${HOME} | |
- name: validate OSL imagestream | |
run: | | |
${HOME}/openshift-template-validator-linux-amd64 validate -f openshift-serverless-logic-imagestream.yaml |