From 342a2926ed12622a7e88610d7e1ecfb2fb619b30 Mon Sep 17 00:00:00 2001 From: szeort Date: Mon, 12 Aug 2024 11:26:43 +0300 Subject: [PATCH] Create build-korifi.yml --- .github/workflows/build-korifi.yml | 38 ++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/build-korifi.yml diff --git a/.github/workflows/build-korifi.yml b/.github/workflows/build-korifi.yml new file mode 100644 index 0000000..45bf39b --- /dev/null +++ b/.github/workflows/build-korifi.yml @@ -0,0 +1,38 @@ +name: Build-Korifi-Trinity + +on: + workflow_dispatch: + +env: + REGISTRY: ghcr.io + V_KORIFI: '0.11.2' + IMAGE_NAME: ${{ github.repository }} + +jobs: + build: + runs-on: [ self-hosted ] + + permissions: + contents: read + packages: write + attestations: write + id-token: write + + steps: + - uses: actions/checkout@v3 + with: + repository: unified-runtime/korifi-trinity + ref: v${{ env.V_KORIFI }} + github-server-url: 'https://github.tools.sap' + token: ${{ KORIFI_TRINITY_TOKEN }} + path: '.github.tools.sap' + + + - name: Log in to the Container registry + uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + with: + registry: ${{ env.REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + +