Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@797d68864753cbceedc271349d402da4590e6302 # v4.5.0
run: echo "GITHUB_SHA_SHORT=${GITHUB_SHA:0:7}" >> $GITHUB_ENV

- name: Build and Publish Docker Image with DB
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@797d68864753cbceedc271349d402da4590e6302 # v4.5.0
run: echo "GITHUB_SHA_SHORT=${GITHUB_SHA:0:7}" >> $GITHUB_ENV

- name: Build and Publish Docker Image without DB
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4.5.0
run: echo "GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT=$(echo ${{ github.event.pull_request.head.sha }} | cut -c 1-7)" >> $GITHUB_ENV

- name: Set GITHUB_SHA_SHORT from PR
if: env.GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT != null
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3

- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@797d68864753cbceedc271349d402da4590e6302 # v4.5.0
run: echo "GITHUB_SHA_SHORT=${GITHUB_SHA:0:7}" >> $GITHUB_ENV

- name: Build and Publish HuggingChat image
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
Expand All @@ -54,7 +54,7 @@ jobs:
needs: ["build-and-publish-huggingchat-image"]
steps:
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@797d68864753cbceedc271349d402da4590e6302 # v4.5.0
run: echo "GITHUB_SHA_SHORT=${GITHUB_SHA:0:7}" >> $GITHUB_ENV

- name: Gen values
run: |
Expand Down