Skip to content

Commit

Permalink
修改 action
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Smilin committed Apr 17, 2024
1 parent 8f16238 commit 6221574
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
run: |
git fetch --tags
latest_tag=$(git describe --tags $(git rev-list --tags --max-count=1))
echo "::set-output name=tag::$latest_tag"
echo "💡 Latest tag: $latest_tag"
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand All @@ -31,7 +32,7 @@ jobs:
with:
context: .
push: true
tags: smile0301/auto-pixai:$latest_tag
tags: smile0301/auto-pixai:${{ steps.latest_tag.outputs.tag }}
- name: Build and push latest
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit 6221574

Please sign in to comment.