Skip to content

build new k6 image

build new k6 image #14

Workflow file for this run

name: Verification Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
# docker run --rm -it -u "$(id -u):$(id -g)" -v "${PWD}:/xk6" grafana/xk6 build v0.43.1 \
# --with github.com/mostafa/[email protected]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '^1.22' # The Go version to download (if necessary) and use.
# - name: build k6 v2
# uses: addnab/docker-run-action@v3
# with:
# image: grafana/xk6
# options: --rm -v ${{ github.workspace }}:/xk6 -u $(id -u):$(id -g)
# run: |
# xk6 build --with github.com/LeonAdato/xk6-output-statsd
- name: install xk6
run: go install go.k6.io/xk6/cmd/xk6@latest
- name: create k6 ececutable
run: xk6 build --with github.com/LeonAdato/xk6-output-statsd
- name: creats k6 ececutable
run: ls -lah
- name: build image
docker build .

Check failure on line 43 in .github/workflows/Build.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/Build.yaml

Invalid workflow file

You have an error in your yaml syntax on line 43