Skip to content

Commit

Permalink
ci(docker): push action
Browse files Browse the repository at this point in the history
  • Loading branch information
xuoutput committed Sep 25, 2024
1 parent 7ac6122 commit c600c70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.ACTIONTOKEN }}
ref: ${{ inputs.branch }} # 可以指定分支 checkout, 但不允许直接修改 gh-pages
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
password: ${{ secrets.TCR_TOKEN }}

- name: Build && Push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
Expand Down

0 comments on commit c600c70

Please sign in to comment.