Unverified Commit 54757e7b authored by Cwen Yin's avatar Cwen Yin Committed by GitHub
Browse files

Overwrite $IMAGE_BUILD_ENV_TAG with $IMAGE_TAG-$ARCH in `upload_env_image.yml`...

Overwrite $IMAGE_BUILD_ENV_TAG with $IMAGE_TAG-$ARCH in `upload_env_image.yml` github action (#3444)

* Makefile: remove IMAGE_BUILD_ENV_TAG and IMAGE_DEV_ENV_TAG
Signed-off-by: default avatarcwen0 <cwenyin0@gmail.com>

* make clean
Signed-off-by: default avatarcwen0 <cwenyin0@gmail.com>

* update CHANGELOG
Signed-off-by: default avatarcwen0 <cwenyin0@gmail.com>

* Github Action: overwrite IMAGE_BUILD_ENV_TAG with IMAGE_TAG-
Signed-off-by: default avatarcwen0 <cwenyin0@gmail.com>

* make clean
Signed-off-by: default avatarcwen0 <cwenyin0@gmail.com>
Co-authored-by: default avatarTi Chi Robot <ti-community-prow-bot@tidb.io>
parent d8e900bf
Showing with 8 additions and 1 deletion
+8 -1
......@@ -45,11 +45,17 @@ jobs:
GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }}
run: |
export IMAGE_${IMAGE^^}_ENV_BUILD=1
export IMAGE_${IMAGE^^}_ENV_TAG=$IMAGE_TAG-$ARCH
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# ${VAR,,} convert VAR to lower case
make -B IMAGE_BUILD_ENV_PROJECT=${GITHUB_REPOSITORY_OWNER,,} IMAGE_DEV_ENV_PROJECT=${GITHUB_REPOSITORY_OWNER,,} TARGET_PLATFORM=$ARCH IMAGE_TAG=$IMAGE_TAG-$ARCH image-$IMAGE-env
make -B \
IMAGE_BUILD_ENV_PROJECT=${GITHUB_REPOSITORY_OWNER,,} \
IMAGE_DEV_ENV_PROJECT=${GITHUB_REPOSITORY_OWNER,,} \
TARGET_PLATFORM=$ARCH \
IMAGE_TAG=$IMAGE_TAG-$ARCH \
image-$IMAGE-env
- name: Upload Chaos Mesh Env
env:
......
......@@ -70,6 +70,7 @@ For more information and how-to, see [RFC: Keep A Changelog](https://github.com/
- StressChaos: run `pause` before `choom` [#3405](https://github.com/chaos-mesh/chaos-mesh/pull/3405)
- JVMChaos: update the error message that can be ignored [#3415](https://github.com/chaos-mesh/chaos-mesh/pull/3415)
- Fix Workflow Validating Webhook Panic [#3413](https://github.com/chaos-mesh/chaos-mesh/pull/3413)
- Overwrite $IMAGE_BUILD_ENV_TAG with $IMAGE_TAG-$ARCH in `upload_env_image.yml` github action [#3444](https://github.com/chaos-mesh/chaos-mesh/pull/3444)
### Security
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment