mirror of
https://github.com/elastic/kibana.git
synced 2025-04-18 23:21:39 -04:00
[FIPS][Build] Add Wolfi tag to FIPS image (#217247)
## Summary Adjusts the Docker tag for the Wolfi FIPS image from `kibana-fips` to `kibana-wolfi-fips` to avoid confusion in the future. The other products use `<product>-fips` naming for released Cloud artifacts but our artifact is `kibana-cloud-fips`. ### Considerations This changeset could be further reaching, but unsure if it's necessary and would like other opinions. If we want to change it now is the time while adoption is low. For example, we're using `--skip-docker-fips` in build scripts or GH label `ci:build-docker-fips`. We could align these better, adding `wolfi` but don't think it is necessary.
This commit is contained in:
parent
ab6f7c6ca6
commit
dcb4242843
2 changed files with 3 additions and 4 deletions
|
@ -32,9 +32,9 @@ node scripts/build \
|
|||
cd "$KIBANA_DIR/target"
|
||||
buildkite-agent artifact upload "./*docker-image*.tar.gz"
|
||||
|
||||
KIBANA_FIPS_IMAGE="docker.elastic.co/kibana-ci/kibana-fips:$FULL_VERSION-$BUILDKITE_COMMIT"
|
||||
KIBANA_FIPS_IMAGE="docker.elastic.co/kibana-ci/kibana-wolfi-fips:$FULL_VERSION-$BUILDKITE_COMMIT"
|
||||
|
||||
cat <<EOF | buildkite-agent annotate --style "info" --context kibana-fips-image
|
||||
cat <<EOF | buildkite-agent annotate --style "info" --context kibana-wolfi-fips-image
|
||||
|
||||
Kibana FIPS image: \`$KIBANA_FIPS_IMAGE\`
|
||||
EOF
|
||||
|
|
|
@ -53,8 +53,7 @@ export async function runDockerGenerator(
|
|||
'docker.elastic.co/wolfi/chainguard-base:latest@sha256:29150cd940cc7f69407d978d5a19c86f4d9e67cf44e4d6ded787a497e8f27c9a';
|
||||
|
||||
let imageFlavor = '';
|
||||
if (flags.baseImage === 'wolfi' && !flags.serverless && !flags.cloud && !flags.fips)
|
||||
imageFlavor += `-wolfi`;
|
||||
if (flags.baseImage === 'wolfi' && !flags.serverless && !flags.cloud) imageFlavor += `-wolfi`;
|
||||
if (flags.ironbank) imageFlavor += '-ironbank';
|
||||
if (flags.cloud) imageFlavor += '-cloud';
|
||||
if (flags.serverless) imageFlavor += '-serverless';
|
||||
|
|
Loading…
Add table
Reference in a new issue