Skip to content

Commit

Permalink
workflows: Re-enable arm builds for docker images (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjpotter92 authored Apr 11, 2023
1 parent f592c3a commit 7f2bb28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) }}
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7f2bb28

Please sign in to comment.