diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 89971c7c..a27357c3 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -25,14 +25,19 @@ jobs: build: - name: loadtester file: Dockerfile.load-tester + platforms: linux/amd64, linux/arm64 - name: record-tester file: Dockerfile.record-tester + platforms: linux/amd64, linux/arm64 - name: orch-tester file: Dockerfile.orch-tester + platforms: linux/amd64 - name: mist-api-connector file: Dockerfile.mist-api-connector + platforms: linux/amd64, linux/arm64 - name: streamtester file: Dockerfile + platforms: linux/amd64, linux/arm64 steps: - name: Set up QEMU @@ -76,7 +81,7 @@ jobs: - name: Build and push uses: docker/build-push-action@v4 with: - platforms: linux/amd64 + platforms: ${{ matrix.build.platforms }} push: true build-args: | version=${{ (github.ref_type == 'tag' && github.ref_name) || (github.event.pull_request.head.sha || github.sha) }} diff --git a/docker/Dockerfile b/docker/Dockerfile index 32b7fc4d..d0a43a82 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -20,7 +20,7 @@ RUN go build -ldflags="-X 'github.com/livepeer/stream-tester/model.Version=$vers RUN parallel -q go build -ldflags="-X 'github.com/livepeer/stream-tester/model.Version=$version' -X 'github.com/livepeer/stream-tester/model.IProduction=true'" cmd/{}/{}.go ::: testdriver mist-api-connector loadtester stream-monitor recordtester -FROM alpine:3.15.4 +FROM alpine:3.17.2 RUN apk add --no-cache ca-certificates ffmpeg