Skip to content

Commit

Permalink
chore: update shared release workflow (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
programmer04 authored Jun 19, 2024
1 parent e765792 commit 6b0b38f
Showing 1 changed file with 7 additions and 4 deletions.
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

0 comments on commit 6b0b38f

Please sign in to comment.