From 690f296d961e4a2f6e276906eed50b892a08f54f Mon Sep 17 00:00:00 2001 From: Ivan Kolodiazhnyi Date: Wed, 29 Oct 2025 12:23:09 +0200 Subject: [PATCH] feat: Add '-stig-fips' suffix into the tag for related images Signed-off-by: Ivan Kolodiazhnyi --- .github/workflows/fork-ci-reusable.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/fork-ci-reusable.yml b/.github/workflows/fork-ci-reusable.yml index 5268e69..0e567b7 100644 --- a/.github/workflows/fork-ci-reusable.yml +++ b/.github/workflows/fork-ci-reusable.yml @@ -115,6 +115,20 @@ jobs: matrix: component: ${{ fromJSON(inputs.components) }} steps: + - name: Adjust image tag for STIG/FedRAMP images + id: set_tag + run: | + IMAGE_NAME="${{ matrix.component.imageName }}" + BASE_TAG="${{ env.DOCKER_TAG }}" + case "$IMAGE_NAME" in + *stig*) + NEW_TAG="${BASE_TAG}-stig-fips" + ;; + *) + NEW_TAG="${BASE_TAG}" + ;; + esac + echo "DOCKER_TAG=$NEW_TAG" >> $GITHUB_ENV - uses: actions/checkout@v4 with: ref: ${{ needs.determine_ref.outputs.github_ref_name }}