Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Yuwei Ba <[email protected]>
  • Loading branch information
ibigbug authored Sep 29, 2024
1 parent c42eada commit 0bf0abc
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ jobs:
await github.repos.deleteRelease({ owner, repo, release_id: id })
- name: Update Latest Tag
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/heads/master')
uses: richardsimko/update-tag@v1
with:
tag_name: latest
Expand Down Expand Up @@ -418,7 +418,14 @@ jobs:
run: |
mv ./clash-rs/clash-x86_64-unknown-linux-musl ./clash-rs/clash-amd64
mv ./clash-rs/clash-aarch64-unknown-linux-musl ./clash-rs/clash-arm64
- name: Log in to Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ env.OWNER }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push release
uses: docker/build-push-action@v6
with:
Expand Down

0 comments on commit 0bf0abc

Please sign in to comment.