Skip to content

Commit

Permalink
Support tag with date.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Nov 9, 2023
1 parent fe333ca commit ab848fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Covert output to env
run: |
echo "SRS_TAG=${{ needs.envs.outputs.SRS_TAG }}" >> $GITHUB_ENV
echo "SRS_TAG_DATE=$SRS_TAG$(date +%y-%m-%d)" >> $GITHUB_ENV
echo "SRS_TAG_DATE=${{ needs.envs.outputs.SRS_TAG }}-$(date +%y-%m-%d)" >> $GITHUB_ENV
# Docker build
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Covert output to env
run: |
echo "SRS_TAG=${{ needs.envs.outputs.SRS_TAG }}" >> $GITHUB_ENV
echo "SRS_TAG_DATE=$SRS_TAG$(date +%y-%m-%d)" >> $GITHUB_ENV
echo "SRS_TAG_DATE=${{ needs.envs.outputs.SRS_TAG }}-$(date +%y-%m-%d)" >> $GITHUB_ENV
- name: Login aliyun hub
uses: docker/login-action@v2
with:
Expand Down

0 comments on commit ab848fa

Please sign in to comment.