Skip to content

Commit

Permalink
Modify github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolo committed Jul 29, 2024
1 parent aa57a01 commit 86f29cd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/updater-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.TOKEN }}

- name: Checkout code
uses: actions/checkout@v3

- name: Set short git commit SHA
id: vars
run: |
calculatedSha=$(git rev-parse --short ${{ github.sha }})
echo "COMMIT_SHORT_SHA=$calculatedSha" >> $GITHUB_ENV
echo "REPO=${${{ github.repository }},,}" >> $GITHUB_ENV
echo "REPO=${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV
- name: Tag Docker image
run: |
Expand Down

0 comments on commit 86f29cd

Please sign in to comment.