Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update shared release workflow #347

Merged
merged 1 commit into from
Jun 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/__release-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down
Loading