add COMMIT_SHA in environment

This commit is contained in:
Артем Дроздов 2025-01-14 15:59:26 +00:00
parent 9751c49015
commit 49e4ec8307
1 changed files with 4 additions and 1 deletions

View File

@ -50,6 +50,9 @@ jobs:
${{ env.vault_main_base_path }} docker_registry_password ; ${{ env.vault_main_base_path }} docker_registry_password ;
dev/wilix/yonote/data/ci/yonote NPM_AUTH_TOKEN ; dev/wilix/yonote/data/ci/yonote NPM_AUTH_TOKEN ;
- name: Set COMMIT_SHA in environment
run: echo "COMMIT_SHA=${{ inputs.commit_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
with: with:
@ -70,4 +73,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: '123qwert' COMMIT_SHA: ${{ inputs.commit_sha }}