Fix-ci-for-cleanup

This commit is contained in:
Артем Дроздов 2025-01-15 13:22:25 +00:00
parent 49e4ec8307
commit edd7dc9be9
1 changed files with 2 additions and 6 deletions

View File

@ -14,10 +14,6 @@ on:
default: false default: false
required: false required: false
type: boolean type: boolean
commit_sha:
description: 'SHA текущего коммита'
required: true
type: string
secrets: secrets:
VAULT_ROLE_ID: VAULT_ROLE_ID:
required: true required: true
@ -51,7 +47,7 @@ jobs:
dev/wilix/yonote/data/ci/yonote NPM_AUTH_TOKEN ; dev/wilix/yonote/data/ci/yonote NPM_AUTH_TOKEN ;
- name: Set COMMIT_SHA in environment - name: Set COMMIT_SHA in environment
run: echo "COMMIT_SHA=${{ inputs.commit_sha }}" >> "$GITHUB_ENV" run: echo "COMMIT_SHA=${{ github.sha }}" >> "$GITHUB_ENV"
- name: Login to wilix nexus Container Registry - name: Login to wilix nexus Container Registry
uses: https://github.com/docker/login-action@v2 uses: https://github.com/docker/login-action@v2
@ -73,4 +69,4 @@ jobs:
WERF_REPO: ${{ inputs.docker_repo_path }}/${{ inputs.docker_images_path }} WERF_REPO: ${{ inputs.docker_repo_path }}/${{ inputs.docker_images_path }}
WERF_KUBECONFIG_BASE64: ${{ steps.import-secrets.outputs.local_cluster_kube_config_base64 }} WERF_KUBECONFIG_BASE64: ${{ steps.import-secrets.outputs.local_cluster_kube_config_base64 }}
NPM_AUTH_TOKEN: ${{ steps.import-secrets.outputs.NPM_AUTH_TOKEN }} NPM_AUTH_TOKEN: ${{ steps.import-secrets.outputs.NPM_AUTH_TOKEN }}
COMMIT_SHA: ${{ inputs.commit_sha }} COMMIT_SHA: ${{ env "COMMIT_SHA" }}