Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wwwwxPr/22 #25

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docker-image.yml
仓库名转小写
  • Loading branch information
cheng6563 committed Nov 23, 2022
commit 20fb4ff4d13f16e18c051fa0c39dcb5d55f3065a
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- name: build and push
run: docker build . -t "ghcr.io/${{ github.repository }}" && docker push "ghcr.io/${{ github.repository }}"
run: GITHUB_REPO=`echo "${{ github.repository }}" | tr "[:upper:]" "[:lower:]"` && docker build . -t "ghcr.io/$GITHUB_REPO" && docker push "ghcr.io/$GITHUB_REPO"