Skip to content

Commit 0491942

Browse files
committed
descw-3086 use feature branch ref fro calls to reusable oc-build-image workflow
1 parent 0c2b968 commit 0491942

4 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/nginx-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ defaults:
1515
working-directory: ./
1616
jobs:
1717
oc:
18-
uses: bcgov/wordpress/.github/workflows/oc-build-image.yaml@main
18+
uses: bcgov/wordpress/.github/workflows/oc-build-image.yaml@feature/DESCW-3086_workflow-permissions
1919
with:
2020
image: wordpress-nginx-run
2121
secrets:

.github/workflows/oc-build-image.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ jobs:
2626
- name: Install oc # Install OpenShift CLI, which is required for building images. It is not included in the default GitHub Actions runner.
2727
uses: redhat-actions/openshift-tools-installer@v1
2828
with:
29-
# "mirror" is the default source, so this is optional.
30-
source: "mirror"
31-
oc: "4"
29+
oc: "latest"
3230

3331
- name: Authenticate and set context
3432
uses: redhat-actions/oc-login@v1

.github/workflows/sidecar-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ defaults:
1111
working-directory: ./
1212
jobs:
1313
oc:
14-
uses: bcgov/wordpress/.github/workflows/oc-build-image.yaml@main
14+
uses: bcgov/wordpress/.github/workflows/oc-build-image.yaml@feature/DESCW-3086_workflow-permissions
1515
with:
1616
image: wordpress-sidecar-run
1717
secrets:

.github/workflows/wordpress-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ defaults:
1515
working-directory: ./
1616
jobs:
1717
oc:
18-
uses: bcgov/wordpress/.github/workflows/oc-build-image.yaml@main
18+
uses: bcgov/wordpress/.github/workflows/oc-build-image.yaml@feature/DESCW-3086_workflow-permissions
1919
with:
2020
image: wordpress-wordpress-run
2121
secrets:

0 commit comments

Comments
 (0)