fix(ci): trim short hash

This commit is contained in:
sentriz
2021-05-12 19:44:08 +01:00
parent 8f7131e25b
commit 6f269745a5

View File

@@ -51,7 +51,7 @@ jobs:
- name: Generate short hash
run: |
_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
uses: docker/build-push-action@v2
with: