Skip to content

Commit

Permalink
chore: 调整docker构建
Browse files Browse the repository at this point in the history
Change-Id: I3df88fee640847582181d0fd85718419be127b3c
  • Loading branch information
njikm2010 committed Oct 10, 2023
1 parent 4cb9f8b commit bb6a443
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
runs-on: ubuntu-latest
permissions:
packages: write

steps:
- uses: actions/checkout@v2

Expand All @@ -21,9 +20,10 @@ jobs:
- name: Check if the latest release is a prerelease
id: check_release
run: |
curl --silent "https://api.github.com/repos/${{github.repository}}/releases/latest" \
IS_PRERELEASE=$(curl --silent "https://api.github.com/repos/${{github.repository}}/releases/latest" \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" | \
jq .
jq -r .prerelease)
echo "IS_PRERELEASE=$IS_PRERELEASE" >> $GITHUB_ENV
# 构建试用docker
Expand Down

0 comments on commit bb6a443

Please sign in to comment.