fix(ci): trim short hash
This commit is contained in:
2
.github/workflows/nightly-release.yaml
vendored
2
.github/workflows/nightly-release.yaml
vendored
@@ -51,7 +51,7 @@ jobs:
|
|||||||
- name: Generate short hash
|
- name: Generate short hash
|
||||||
run: |
|
run: |
|
||||||
_short_hash=${{ github.sha }}
|
_short_hash=${{ github.sha }}
|
||||||
echo "SHORT_HASH=${_short_hash:7}" >> $GITHUB_ENV
|
echo "SHORT_HASH=${_short_hash:0:7}" >> $GITHUB_ENV
|
||||||
- name: Build and Push
|
- name: Build and Push
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user