Skip to content

Commit

Permalink
Merge pull request #60 from kyma-project/fix/pipeline
Browse files Browse the repository at this point in the history
added build korifi steps to the workflow
  • Loading branch information
szeort authored Aug 29, 2024
2 parents 5da841e + 8ee44c6 commit 1ebac16
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/makefile.yml → .github/workflows/run-kyma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
V_KORIFI: '0.11.2'

jobs:
build:
Expand All @@ -24,15 +25,35 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: go vet lint
run: make vet lint

- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: go vet lint
run: make vet lint
- name: 'Checkout Korifi-Trinity'
uses: actions/checkout@v3
with:
repository: unified-runtime/korifi-trinity
ref: v${{ env.V_KORIFI }}
github-server-url: 'https://github.tools.sap'
token: ${{ secrets.KORIFI_TRINITY_TOKEN }}
path: '.korifi'

- name: Create korifi release artifacts
env:
VERSION: ${{ env.V_KORIFI }}
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 ${{ env.V_KORIFI }}
- name: docker build
run: make docker-build
Expand Down

0 comments on commit 1ebac16

Please sign in to comment.