Build WordPress Image #36
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: Build WordPress Image | |
| permissions: | |
| contents: read # Used to checkout/read this repository's contents | |
| id-token: write # Used by redhat-actions/oc-login in oc-build-image.yaml | |
| actions: read # Used to call the reusable workflow oc-build-image.yaml | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "openshift/templates/images/wordpress/**/*" | |
| workflow_dispatch: # Allows manual triggering of the workflow | |
| defaults: | |
| run: | |
| working-directory: ./ | |
| jobs: | |
| oc: | |
| uses: bcgov/wordpress/.github/workflows/oc-build-image.yaml@main | |
| with: | |
| image: wordpress-wordpress-run | |
| secrets: | |
| openshift_server_url: ${{ secrets.OpenShiftServerURL }} | |
| openshift_token: ${{ secrets.OpenShiftToken }} | |
| openshift_licenseplate: ${{ secrets.OPENSHIFT_LICENSEPLATE }} |