diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a5c494f6c..24c20681e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -70,7 +70,7 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-args: | - ARCH=amd64v8 + ARCH=amd64 GOARCH=amd64 SEM_VER=${{ steps.versioning.outputs.version }} BUILD_TIMESTAMP=${{ steps.version_parameters.outputs.build_timestamp }} diff --git a/agent/kratos/build-push-featurebranch.sh b/agent/kratos/build-push-featurebranch.sh index cf11d2de1..c59f3103c 100755 --- a/agent/kratos/build-push-featurebranch.sh +++ b/agent/kratos/build-push-featurebranch.sh @@ -9,7 +9,7 @@ GIT_BRANCH=$(git branch | grep \* | cut -d ' ' -f2 | tr '[:upper:]' '[:lower:]') DOCKER_REPO=$REPOSITORY/$SERVER_NAME/$GIT_BRANCH SEM_VER=${SEM_VER=0.0.0} ARCH=amd64 -GOARCH=amd64 +GOARCH=$ARCH DOCKER_TAGGED_BUILDS=("$DOCKER_REPO:latest" "$DOCKER_REPO:$SEM_VER") diff --git a/devops/build-agent-ci.sh b/devops/build-agent-ci.sh index 67144cf57..3afa4cc56 100755 --- a/devops/build-agent-ci.sh +++ b/devops/build-agent-ci.sh @@ -9,7 +9,7 @@ GIT_BRANCH=ci DOCKER_REPO=$REPOSITORY/$SERVER_NAME/$GIT_BRANCH SEM_VER=${SEM_VER=0.0.0} ARCH=amd64 -GOARCH=amd64 +GOARCH=$ARCH DOCKER_TAGGED_BUILD="$DOCKER_REPO:$SEM_VER" diff --git a/devops/build-push-featurebranch-debug.sh b/devops/build-push-featurebranch-debug.sh index 3e72982e0..b3709f847 100755 --- a/devops/build-push-featurebranch-debug.sh +++ b/devops/build-push-featurebranch-debug.sh @@ -9,7 +9,7 @@ GIT_BRANCH=$(git branch | grep \* | cut -d ' ' -f2 | tr '[:upper:]' '[:lower:]') DOCKER_REPO=$REPOSITORY/$SERVER_NAME/$GIT_BRANCH SEM_VER=${SEM_VER=0.0.0} ARCH=amd64 -GOARCH=amd64 +GOARCH=$ARCH DOCKER_TAGGED_BUILDS=("$DOCKER_REPO:latest" "$DOCKER_REPO:$SEM_VER") diff --git a/devops/build-push-featurebranch.sh b/devops/build-push-featurebranch.sh index 42a2cc34d..2f1c6d124 100755 --- a/devops/build-push-featurebranch.sh +++ b/devops/build-push-featurebranch.sh @@ -9,7 +9,7 @@ GIT_BRANCH=$(git branch | grep \* | cut -d ' ' -f2 | tr '[:upper:]' '[:lower:]') DOCKER_REPO=$REPOSITORY/$SERVER_NAME/$GIT_BRANCH SEM_VER=${SEM_VER=0.0.0} ARCH=amd64 -GOARCH=amd64 +GOARCH=$ARCH DOCKER_TAGGED_BUILDS=("$DOCKER_REPO:latest" "$DOCKER_REPO:$SEM_VER")