This is an automated email from the ASF dual-hosted git repository.
marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push:
new 6087194 Fix build and push operator workflow
6087194 is described below
commit 6087194d980ab48971ff99a3fe1bf03d995a0828
Author: Marat Gubaidullin <[email protected]>
AuthorDate: Thu Oct 13 20:16:55 2022 -0400
Fix build and push operator workflow
---
.github/workflows/operator.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/operator.yml b/.github/workflows/operator.yml
index a0dcf64..ede19f0 100644
--- a/.github/workflows/operator.yml
+++ b/.github/workflows/operator.yml
@@ -51,8 +51,9 @@ jobs:
# Build the Operator Bundle image
- name: Build operator Bundle image
run: |
+ cd karavan-operator
MY_BUNDLE_IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE_NAME_BUNDLE }}:${{
env.TAG }}
docker login -u=${{ github.actor }} -p=${{ secrets.GITHUB_TOKEN }}
${{ env.REGISTRY }}
- docker build -t $MY_BUNDLE_IMAGE -f
karavan-operator/target/bundle/bundle.Dockerfile karavan-operator/target/bundle
+ docker build -t $MY_BUNDLE_IMAGE -f target/bundle/bundle.Dockerfile
target/bundle
docker push $MY_BUNDLE_IMAGE
if: ${{ github.ref == 'refs/heads/main' }}
\ No newline at end of file