mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 13:07:46 +00:00
head sha
This commit is contained in:
3
.github/workflows/login-container.yml
vendored
3
.github/workflows/login-container.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
outputs:
|
outputs:
|
||||||
login_build_image: ${{ inputs.login_build_image_name }}:${{ steps.short-sha.outputs.short_sha }}
|
login_build_image: ${{ steps.short-sha.outputs.login_build_image }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Get short SHA
|
- name: Get short SHA
|
||||||
@@ -45,6 +45,7 @@ jobs:
|
|||||||
SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)
|
SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)
|
||||||
fi
|
fi
|
||||||
echo "short_sha=$SHORT_SHA" >> $GITHUB_OUTPUT
|
echo "short_sha=$SHORT_SHA" >> $GITHUB_OUTPUT
|
||||||
|
echo "login_build_image=${{ inputs.login_build_image_name }}:$SHORT_SHA" >> $GITHUB_OUTPUT
|
||||||
echo "Short SHA: $SHORT_SHA"
|
echo "Short SHA: $SHORT_SHA"
|
||||||
- name: Login meta
|
- name: Login meta
|
||||||
id: login-meta
|
id: login-meta
|
||||||
|
Reference in New Issue
Block a user