Skip to content

Commit

Permalink
变化:调整构建action +5
Browse files Browse the repository at this point in the history
  • Loading branch information
guobao2333 committed Sep 9, 2024
1 parent f615dfa commit 7fc608b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ jobs:
- name: Add tag based on condition
run: |
if [[ ${{ github.ref }} =~ refs/tags/v ]]; then
echo "##${{ github.event.ref }}" >> $GITHUB_OUTPUT
echo "::set-output name=tag::${{ github.event.ref }}"
else
echo "##${{ github.event_time }}" >> $GITHUB_OUTPUT
echo "::set-output name=tag::${{ github.event_time }}"
fi
# Build and push Docker image with Buildx (don't push on PR)
Expand Down

0 comments on commit 7fc608b

Please sign in to comment.