File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 5757 - name : Checkout code
5858 uses : actions/checkout@v4
5959
60+ - name : Load environment variables
61+ run : |
62+ # Load .env file and export variables for build args
63+ set -a
64+ source .env
65+ set +a
66+
67+ # Convert env vars to GitHub Actions format
68+ {
69+ echo "OPENTELEMETRY_CPP_VERSION=$OPENTELEMETRY_CPP_VERSION"
70+ echo "IMAGE_VERSION=$IMAGE_VERSION"
71+ echo "IMAGE_NAME=$IMAGE_NAME"
72+ echo "DEMO_VERSION=$DEMO_VERSION"
73+ } >> $GITHUB_ENV
74+
6075 - name : Set up Depot
6176 uses : depot/setup-action@v1
6277
7691 push : true
7792 tags : |
7893 ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.DEMO_VERSION }}-${{ matrix.service.name }}
79- build-args : ${{ matrix.service.build_args }}
94+ build-args : |
95+ OPENTELEMETRY_CPP_VERSION=${{ env.OPENTELEMETRY_CPP_VERSION }}
96+ IMAGE_VERSION=${{ env.IMAGE_VERSION }}
97+ IMAGE_NAME=${{ env.IMAGE_NAME }}
98+ DEMO_VERSION=${{ env.DEMO_VERSION }}
8099 platforms : linux/amd64,linux/arm64
You can’t perform that action at this time.
0 commit comments