Skip to content

Commit

Permalink
update image tag draft
Browse files Browse the repository at this point in the history
  • Loading branch information
akyriako committed Jul 9, 2024
1 parent 54be796 commit 71dd751
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,22 @@ jobs:

update-tag:
needs: build
environment: preview
runs-on: ubuntu-latest
steps:
- name: Get Commit Hash
id: commit_hash
uses: prompt/actions-commit-hash@v3
- name: Show Commit Hash Digest
run: echo ${{ steps.commit_hash.outputs.short }}
- name: Update Image Tag
uses: cheelim1/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
REPO_NAME: 'docs-next-charts'
REPO_OWNER: 'akyriako'
FILE_PATH: 'docusaurus/deployment-docusaurus.yaml'
IMAGE_TAG: ${{ secrets.DOCKERHUB_USERNAME }}/${{ vars.IMG_NAME }}:${{ steps.commit_hash.outputs.short }}



Expand Down

0 comments on commit 71dd751

Please sign in to comment.