Skip to content

Build-Korifi-Trinity #10

Build-Korifi-Trinity

Build-Korifi-Trinity #10

Workflow file for this run

name: Build-Korifi-Trinity
on:
workflow_dispatch:
env:
REGISTRY: ghcr.io
KORIFI_REF: '0.11.2'
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: [ self-hosted ]
permissions:
contents: read
packages: write
attestations: write
id-token: write
steps:
- name: 'Checkout Korifi-Trinity'
uses: actions/checkout@v3
with:
repository: unified-runtime/korifi-trinity
ref: ${{ vars.KORIFI_REF }}
github-server-url: 'https://github.tools.sap'
token: ${{ secrets.KORIFI_TRINITY_TOKEN }}
path: '.korifi'
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Create korifi release artifacts
env:
VERSION: ${{ vars.KORIFI_REF }}
DOCKER_REGISTRY: ${{ env.REGISTRY }}
DOCKER_REGISTRY_USER: ${{ github.actor }}
DOCKER_REGISTRY_PASS: ${{ secrets.GITHUB_TOKEN }}
shell: bash
working-directory: '.korifi'
run: |
../scripts/create-korifi-release.sh ${{ vars.KORIFI_REF }}