Skip to content

Commit

Permalink
Fix date tag bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Nov 9, 2023
1 parent 1e7cf5e commit c9f075c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
run: |
SRS_TAG=${{ needs.env-prod.outputs.SRS_TAG }}
echo "SRS_TAG=$SRS_TAG" >> $GITHUB_ENV
echo "SRS_TAG_DATE=${{ needs.envs.outputs.SRS_TAG }}-$(date +%y-%m-%d)" >> $GITHUB_ENV
################################################################
# Git checkout
- name: Checkout repository
Expand All @@ -60,6 +59,11 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
################################################################
- name: Covert output to env
run: |
SRS_TAG=${{ needs.env-prod.outputs.SRS_TAG }}
echo "SRS_TAG=$SRS_TAG" >> $GITHUB_ENV
echo "SRS_TAG_DATE=${{ needs.envs.outputs.SRS_TAG }}-$(date +%y-%m-%d)" >> $GITHUB_ENV
# Docker
- name: Login docker hub
uses: docker/login-action@v2
Expand Down

0 comments on commit c9f075c

Please sign in to comment.