diff --git a/.github/workflows/build-ot-dependency.yml b/.github/workflows/build-ot-dependency.yml index b3c3f0f952..040ade555c 100644 --- a/.github/workflows/build-ot-dependency.yml +++ b/.github/workflows/build-ot-dependency.yml @@ -1,9 +1,9 @@ name: Build OpenTracing Dependency on: - # push: - # branches: - # - "ot-build" + push: + branches: + - "ot-build" workflow_dispatch: inputs: nginx_version: @@ -42,7 +42,7 @@ jobs: if [ -z "${{ inputs.nginx_version }}" ]; then nginx_version="${{ inputs.nginx_version }}" else - nginx_version=$(grep -m1 'ARG BUILD_NGINX_VERSION=' > $GITHUB_OUTPUT @@ -93,4 +93,6 @@ jobs: target: final sbom: false provenance: mode=max - build-args: BUILD_OS=${{ matrix.os }} + build-args: | + BUILD_OS=${{ matrix.os }} + NGINX_VERSION=${{ steps.var.outputs.nginx_version }}