diff --git a/.gitea/workflows/werf-yonote-cleanup-template.yml b/.gitea/workflows/werf-yonote-cleanup-template.yml index ad41a6a..b9e2455 100644 --- a/.gitea/workflows/werf-yonote-cleanup-template.yml +++ b/.gitea/workflows/werf-yonote-cleanup-template.yml @@ -45,9 +45,6 @@ jobs: ${{ env.vault_main_base_path }} docker_registry_username ; ${{ env.vault_main_base_path }} docker_registry_password ; dev/wilix/yonote/data/ci/yonote NPM_AUTH_TOKEN ; - - - name: Set COMMIT_SHA in environment - run: echo "COMMIT_SHA=${{ github.sha }}" >> "$GITHUB_ENV" - name: Login to wilix nexus Container Registry uses: https://github.com/docker/login-action@v2 @@ -69,4 +66,4 @@ jobs: WERF_REPO: ${{ inputs.docker_repo_path }}/${{ inputs.docker_images_path }} WERF_KUBECONFIG_BASE64: ${{ steps.import-secrets.outputs.local_cluster_kube_config_base64 }} NPM_AUTH_TOKEN: ${{ steps.import-secrets.outputs.NPM_AUTH_TOKEN }} - COMMIT_SHA: ${{ env "COMMIT_SHA" }} + COMMIT_SHA: ${{ inputs.COMMIT_SHA }}