diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d72a1231..4bea064c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,8 @@ jobs: - name: Extract version run: | pip install poetry - echo "IMAGE_TAG=$(poetry version --short)_$(date + '%Y%m%d')" >> $GITHUB_ENV + echo "IMAGE_TAG=$(poetry version --short)_$(date +'%Y%m%d')" >> $GITHUB_ENV + echo "image_tag:${{env.IMAGE_TAG}}\ncommit_id:$(git rev-parse HEAD)" > __build_version.cfg # Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here. - name: Login to ACR Hangzhou region diff --git a/.gitignore b/.gitignore index 501098ad..6b69f654 100644 --- a/.gitignore +++ b/.gitignore @@ -224,3 +224,4 @@ output localdata/ model_repository/ *.tmp +__*