Skip to content

Commit

Permalink
upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
oseoin committed Jul 2, 2024
1 parent 4756b33 commit b8ec9f9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-ot-dependency.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Build OpenTracing Dependency

on:
# push:
# branches:
# - "ot-build"
push:
branches:
- "ot-build"
workflow_dispatch:
inputs:
nginx_version:
Expand Down Expand Up @@ -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=' <Dockerfile | awk -F'[= ]' '{print $3}')
nginx_version=$(grep -m1 'FROM nginx:' <Dockerfile | awk -F'[: ]' '{print $3}')
fi
echo "nginx_version=${nginx_version}"
echo "nginx_version=${nginx_version}" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -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 }}

0 comments on commit b8ec9f9

Please sign in to comment.