-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update shared CI workflows (#343)
- Loading branch information
1 parent
333a6da
commit ae4be49
Showing
2 changed files
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,12 @@ on: | |
required: false | ||
type: string | ||
default: Dockerfile | ||
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 | ||
target: | ||
description: The target to be built. | ||
required: false | ||
|
@@ -140,9 +146,6 @@ jobs: | |
- name: Configure Git for private repositories (this is needed by repositories that include this workflow and have other private dependencies) | ||
run: git config --global url."https://${{ secrets.gh-pat }}@github.com".insteadOf "https://github.com" | ||
|
||
- name: Checkout KGO submodule | ||
run: git submodule update --init | ||
|
||
- name: Cache Docker layers | ||
uses: actions/cache@v4 | ||
with: | ||
|
@@ -210,6 +213,7 @@ jobs: | |
uses: docker/[email protected] | ||
with: | ||
context: . | ||
build-contexts: ${{ inputs.additional-build-contexts }} | ||
push: ${{ inputs.push }} | ||
# Use load when push is set to false to allow subsequent steps to have | ||
# access to this image. | ||
|
@@ -271,9 +275,6 @@ jobs: | |
- name: Configure Git for private repositories (this is needed by repositories that include this workflow and have other private dependencies) | ||
run: git config --global url."https://${{ secrets.gh-pat }}@github.com".insteadOf "https://github.com" | ||
|
||
- name: Checkout KGO submodule | ||
run: git submodule update --init | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters