| # Copyright 2024 Apache Software Foundation (ASF) |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| - name: operator-builder |
| version: 999.0.0-snapshot |
| from: 'golang:1.21.6' |
| description: Builder Image for the Operator |
| |
| args: |
| - name: SOURCE_DATE_EPOCH |
| value: |
| |
| modules: |
| repositories: |
| - path: modules |
| install: |
| - name: org.apache.kie.sonataflow.goModDownload |
| - name: org.apache.kie.sonataflow.operatorBuilder |
| |
| - name: sonataflow-operator |
| version: 999.0.0-snapshot |
| from: 'registry.access.redhat.com/ubi9/ubi-micro:9.3-9' |
| description: Runtime Image for the Operator |
| |
| args: |
| - name: SOURCE_DATE_EPOCH |
| value: |
| |
| labels: |
| - name: maintainer |
| value: dev@kie.apache.org |
| |
| artifacts: |
| - path: /workspace/manager |
| image: operator-builder |
| dest: /usr/local/bin |
| name: manager |
| |
| run: |
| workdir: /usr/local/bin |
| user: '65532:65532' |
| entrypoint: |
| - manager |