Skip to content

Commit

Permalink
add target platform for test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dudi Zimberknopf committed Feb 4, 2024
1 parent 55a6368 commit 22fadda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ jobs:
tags: falkordb/falkordb-tests
build-args: |
BASE_IMAGE=localhost:5000/falkordb/falkordb-compiler
TARGETPLATFORM=linux/amd64
- name: Upload tests image
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG BASE_IMAGE=falkordb/falkordb-compiler

ARG TARGETPLATFORM

FROM --platform=$TARGETPLATFORM ${BASE_IMAGE} as compiler
FROM --platform=$TARGETPLATFORM $BASE_IMAGE as compiler

ENV DEPS "automake peg libtool autoconf python-is-python3 2to3 python3.10-venv python3-pip wget build-essential cmake m4 git valgrind gcc musl-dev python3-dev"

Expand Down

0 comments on commit 22fadda

Please sign in to comment.