Skip to content

fips compliant binaries #50

fips compliant binaries

fips compliant binaries #50

Workflow file for this run

name: docker
on:
push:
branches:
- main
jobs:
build-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
with:
registry: splitio-docker.jfrog.io
username: ${{ secrets.ARTIFACTORY_DOCKER_USER }}
password: ${{ secrets.ARTIFACTORY_DOCKER_PASS }}
- name: Checkout code
uses: actions/checkout@v4
- name: Set VERSION env
run: echo "VERSION=$(cat splitio/version.go | grep 'Version =' | awk '{print $4}' | tr -d '"')" >> $GITHUB_ENV
- name: Docker build and push
uses: docker/build-push-action@v4
with:
context: .
file: "infra/sidecar.Dockerfile"
push: true
tags: splitio-docker.jfrog.io/splitd/sidecar${{ matrix.fips-mode == "enabled" && "-fips" || ""}}:${{ env.VERSION }}
build-args: |
FIPS_MODE=${{ matrix.fips-mode }}

Check failure on line 37 in .github/workflows/docker.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker.yml

Invalid workflow file

You have an error in your yaml syntax on line 37
,