From 14c6c38413d0ad92bfc9b2d00d3d4e992f5ae0f8 Mon Sep 17 00:00:00 2001 From: Jakub Warczarek Date: Wed, 19 Jun 2024 11:26:36 +0200 Subject: [PATCH] chore: update shared release workflow --- .github/workflows/__release-workflow.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/__release-workflow.yaml b/.github/workflows/__release-workflow.yaml index edd3a1817..6c3d35158 100644 --- a/.github/workflows/__release-workflow.yaml +++ b/.github/workflows/__release-workflow.yaml @@ -48,6 +48,12 @@ on: description: "The name of the image to push to Docker Hub" type: string required: true + additional-build-contexts: + description: > + Additional build context to include in the build (format name=path), + it's used for EE build to additionaly include path to OSS repo. + required: false + type: string verify-image-script: description: Path to the script that will be used to verify the built image. required: false @@ -105,6 +111,7 @@ jobs: registry: docker.io username: ${{ inputs.dockerhub-push-username }} image-name: ${{ inputs.image-name }} + additional-build-contexts: ${{ inputs.additional-build-contexts }} push: true latest: ${{ inputs.latest }} tag: ${{ inputs.tag }} @@ -204,10 +211,6 @@ jobs: if: ${{ (inputs.base == 'main' && matrix.base == 'main') || (inputs.base != 'main') }} run: git config --global url."https://${{ secrets.gh-pat }}@github.com".insteadOf "https://github.com" - - name: Checkout KGO submodule - if: ${{ (inputs.base == 'main' && matrix.base == 'main') || (inputs.base != 'main') }} - run: git submodule update --init - - name: Setup golang if: ${{ (inputs.base == 'main' && matrix.base == 'main') || (inputs.base != 'main') }} uses: actions/setup-go@v5