Skip to content

Commit

Permalink
Merge pull request #69 from stakater/operator-hub-push
Browse files Browse the repository at this point in the history
Updated operatorhub push workflow
  • Loading branch information
MuneebAijaz authored Jul 25, 2023
2 parents 97057d8 + 572f286 commit deaf97b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/publish_operator_image_and_bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ on:
description: Admin user name to pull private repository
required: false
type: string

SUBPATH:
description: Custom path for docker build
required: true
type: string

secrets:
REGISTRY_REDHAT_IO_PULL_SECRET:
Expand Down Expand Up @@ -171,7 +176,7 @@ jobs:
id: build_and_push
uses: docker/build-push-action@v4
with:
context: .
context: ${{ inputs.SUBPATH }}
file: ${{ inputs.DOCKER_FILE_PATH }}
pull: true
push: true
Expand All @@ -198,7 +203,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
context: ${{ inputs.SUBPATH }}
file: ${{ inputs.DOCKER_FILE_PATH }}
pull: true
push: true
Expand Down

0 comments on commit deaf97b

Please sign in to comment.