From 680063466a5bbab9e4416d0336b3729de39059d1 Mon Sep 17 00:00:00 2001 From: Denys Zhdanov Date: Thu, 6 Jan 2022 20:56:38 +0100 Subject: [PATCH] Fixing build blags for arm64 --- .github/workflows/master-publish.yml | 2 +- .github/workflows/release-publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/master-publish.yml b/.github/workflows/master-publish.yml index e319b44..ec12bae 100644 --- a/.github/workflows/master-publish.yml +++ b/.github/workflows/master-publish.yml @@ -40,7 +40,7 @@ jobs: docker buildx build --platform=linux/amd64 --push -t graphiteapp/graphite-statsd:master . - name: Build and push amd64 pypy image to Docker Hub run: | - docker buildx build --platform=linux/amd64 --build-arg BASEIMAGE=${PYPY_IMAGE} --build-arg python_binary=/usr/local/bin/pypy3 --push -t graphiteapp/graphite-statsd:master-pypy . + docker buildx build --platform=linux/amd64 --build-arg BASEIMAGE=${PYPY_IMAGE} --build-arg python_binary=/usr/local/bin/pypy3 --build-arg python_extra_flags="" --push -t graphiteapp/graphite-statsd:master-pypy . # - name: Login to ghcr.io # run: | # echo "${{ secrets.GHCR_TOKEN }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index cb3961d..052c74a 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -49,7 +49,7 @@ jobs: VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') # Strip "v" prefix from tag name [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo ${VERSION} | sed -e 's/^v//') - docker buildx build --platform=linux/amd64 --build-arg BASEIMAGE=${PYPY_IMAGE} --build-arg python_binary=/usr/local/bin/pypy3 --push -t graphiteapp/graphite-statsd:${VERSION}-pypy . + docker buildx build --platform=linux/amd64 --build-arg BASEIMAGE=${PYPY_IMAGE} --build-arg python_binary=/usr/local/bin/pypy3 --build-arg python_extra_flags="" --push -t graphiteapp/graphite-statsd:${VERSION}-pypy . - name: Build and push multi-platform images to Docker Hub run: | # Strip git ref prefix from version