Set up your GitHub Actions workflow with a specific version of OKD (OpenShift/Origin).
Currently only Linux/Ubuntu CI environment is supported.
name: Example workflow
on: [push]
jobs:
example:
name: Example OpenShift Cluster interaction
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup OpenShift
uses: manusa/actions-setup-openshift@v1.1.5
with:
oc version: 'v3.11.0'
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Interact with the cluster
run: oc cluster status| Parameter | Description |
|---|---|
oc version |
OpenShift version to deploy |
The scripts and documentation in this project are released under the Apache 2.0.
