diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1094099..3692b96 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,5 +48,7 @@ jobs: with: push: true tags: | - registry.cn-shanghai.aliyuncs.com/${{ secrets.ACR_NAMESPACE }}/${{ env.APP_NAME }}:latest - registry.cn-shanghai.aliyuncs.com/${{ secrets.ACR_NAMESPACE }}/${{ env.APP_NAME }}:master + registry.cn-shanghai.aliyuncs.com/${{ secrets.ACR_NAMESPACE }}/${{ inputs.service_name }}:latest + registry.cn-shanghai.aliyuncs.com/${{ secrets.ACR_NAMESPACE }}/${{ inputs.service_name }}:master + build-args: | + SERVICE_NAME=${{ inputs.service_name }}