mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-28 08:17:37 +00:00
Merge pull request #6821 from stevenhorsman/container-image-arch-consistency
deploy: Fix arch in image tag
This commit is contained in:
commit
802cd2f673
@ -15,7 +15,9 @@ cp ${KATA_DEPLOY_ARTIFACT} ${KATA_DEPLOY_DIR}
|
|||||||
|
|
||||||
pushd ${KATA_DEPLOY_DIR}
|
pushd ${KATA_DEPLOY_DIR}
|
||||||
|
|
||||||
IMAGE_TAG="${REGISTRY}:kata-containers-$(git rev-parse HEAD)-$(uname -m)"
|
local arch=$(uname -m)
|
||||||
|
[ "$arch" = "x86_64" ] && arch="amd64"
|
||||||
|
IMAGE_TAG="${REGISTRY}:kata-containers-$(git rev-parse HEAD)-${arch}"
|
||||||
|
|
||||||
echo "Building the image"
|
echo "Building the image"
|
||||||
docker build --tag ${IMAGE_TAG} .
|
docker build --tag ${IMAGE_TAG} .
|
||||||
|
Loading…
Reference in New Issue
Block a user