diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e309e27..09bfdf3 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - fips-mode: [enabled, disabled] + fips_mode: [enabled, disabled] steps: - name: Login to Artifactory uses: docker/login-action@v2 @@ -32,7 +32,6 @@ jobs: context: . file: "infra/sidecar.Dockerfile" push: true - tags: splitio-docker.jfrog.io/splitd/sidecar${{ matrix.fips-mode == "enabled" && "-fips" || ""}}:${{ env.VERSION }} + tags: splitio-docker.jfrog.io/splitd/sidecar${{ matrix.fips_mode == 'enabled' && '-fips' || ''}}:${{ env.VERSION }} build-args: | - FIPS_MODE=${{ matrix.fips-mode }} -, + FIPS_MODE=${{ matrix.fips_mode }} diff --git a/.github/workflows/unstable.yml b/.github/workflows/unstable.yml index f0c0c7d..76cd7c0 100644 --- a/.github/workflows/unstable.yml +++ b/.github/workflows/unstable.yml @@ -8,6 +8,9 @@ jobs: push-docker-image: name: Build and Push Docker Image runs-on: ubuntu-latest + strategy: + matrix: + fips_mode: [enabled, disabled] steps: - name: Login to Artifactory uses: docker/login-action@v2 @@ -28,4 +31,4 @@ jobs: context: . file: "infra/sidecar.Dockerfile" push: true - tags: splitio-docker-dev.jfrog.io/splitd/sidecar:${{ env.SHORT_SHA }} + tags: splitio-docker-dev.jfrog.io/splitd/sidecar${{ matrix.fips_mode == 'enabled' && '-fips' || '' }}:${{ env.SHORT_SHA }}