diff --git a/.github/workflows/cd-dgraph.yml b/.github/workflows/cd-dgraph.yml index 21d6c0020c6..4e539b6933f 100644 --- a/.github/workflows/cd-dgraph.yml +++ b/.github/workflows/cd-dgraph.yml @@ -75,6 +75,12 @@ jobs: badger/badger-linux-amd64.tar.gz dgraph/dgraph-checksum-linux-amd64.sha256 dgraph/dgraph-linux-amd64.tar.gz + - name: Move Badger Binary into Linux Directory + run: | + tar -xzf badger/badger-linux-amd64.tar.gz --directory badger + [ -d "linux" ] || mkdir linux + # linux directory will be added to docker image in build step + cp badger/badger-linux-amd64 linux/badger - name: Make Dgraph Docker Image run: | make docker-image DGRAPH_VERSION=${{ env.DGRAPH_RELEASE_VERSION }}-amd64 @@ -157,6 +163,12 @@ jobs: badger/badger-linux-arm64.tar.gz dgraph/dgraph-checksum-linux-arm64.sha256 dgraph/dgraph-linux-arm64.tar.gz + - name: Move Badger Binary into Linux Directory + run: | + tar -xzf badger/badger-linux-arm64.tar.gz --directory badger + [ -d "linux" ] || mkdir linux + # linux directory will be added to docker image in build step + cp badger/badger-linux-arm64 linux/badger - name: Make Dgraph Docker Image run: | make docker-image DGRAPH_VERSION=${{ env.DGRAPH_RELEASE_VERSION }}-arm64