Skip to content

Commit 8424529

Browse files
committed
use make target to build load test image
1 parent 6b07712 commit 8424529

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -290,23 +290,27 @@ jobs:
290290
- name: Set env
291291
run: echo "GO_VERSION=$(cat go.mod | grep toolchain | sed 's/toolchain //; s/go//')" >> $GITHUB_ENV
292292

293+
# - name: Build Docker Image
294+
# uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
295+
# env:
296+
# GO_VERSION: ${{ env.GO_VERSION }}
297+
# with:
298+
# file: test/docker/load/Dockerfile
299+
# tags: agent_ubuntu_24.04_load_test:1.0.0
300+
# context: '.'
301+
# push: false
302+
# load: true
303+
# no-cache: true
304+
# secrets: |
305+
# "nginx-crt=${{ secrets.NGINX_CRT }}"
306+
# "nginx-key=${{ secrets.NGINX_KEY }}"
307+
# build-args: |
308+
# OSARCH=amd64
309+
# GO_VERSION=${{ env.GO_VERSION }}
310+
293311
- name: Build Docker Image
294-
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
295-
env:
296-
GO_VERSION: ${{ env.GO_VERSION }}
297-
with:
298-
file: test/docker/load/Dockerfile
299-
tags: agent_ubuntu_24.04_load_test:1.0.0
300-
context: '.'
301-
push: false
302-
load: true
303-
no-cache: true
304-
secrets: |
305-
"nginx-crt=${{ secrets.NGINX_CRT }}"
306-
"nginx-key=${{ secrets.NGINX_KEY }}"
307-
build-args: |
308-
OSARCH=amd64
309-
GO_VERSION=${{ env.GO_VERSION }}
312+
run: |
313+
make build-load-test-image
310314
311315
- name: Run Load Tests
312316
run: |

0 commit comments

Comments
 (0)