Skip to content

Commit f2a407a

Browse files
committed
Merge branch 'Buggithubissue': fix(pool) Bug #28 release 后账号依旧不可用
2 parents 9fccc04 + d6d624e commit f2a407a

10 files changed

Lines changed: 861 additions & 221 deletions

File tree

.github/workflows/docker-build-push.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v6
31+
uses: actions/checkout@v4
3232

3333
- name: Set up Python
34-
uses: actions/setup-python@v6
34+
uses: actions/setup-python@v5
3535
with:
3636
python-version: "3.11"
3737

@@ -67,56 +67,53 @@ jobs:
6767

6868
steps:
6969
- name: Checkout repository
70-
uses: actions/checkout@v6
70+
uses: actions/checkout@v4
7171

7272
- name: Set up Docker Buildx
73-
uses: docker/setup-buildx-action@v4
73+
uses: docker/setup-buildx-action@v3
7474

7575
- name: Compute image names
7676
id: names
7777
shell: bash
7878
run: |
7979
# GHCR 要求小写
80-
ghcr_image="ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/outlook-email-plus"
81-
echo "ghcr_image=$ghcr_image" >> "$GITHUB_OUTPUT"
80+
echo "ghcr_image=ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/outlook-email-plus" >> "$GITHUB_OUTPUT"
8281
8382
if [ -n "${{ secrets.DOCKERHUB_USERNAME }}" ] && [ -n "${{ secrets.DOCKERHUB_TOKEN }}" ]; then
8483
echo "dockerhub_enabled=true" >> "$GITHUB_OUTPUT"
85-
echo "images=$ghcr_image,${{ env.DOCKERHUB_IMAGE }}" >> "$GITHUB_OUTPUT"
84+
echo "images=ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/outlook-email-plus,${{ env.DOCKERHUB_IMAGE }}" >> "$GITHUB_OUTPUT"
8685
else
8786
echo "dockerhub_enabled=false" >> "$GITHUB_OUTPUT"
88-
echo "images=$ghcr_image" >> "$GITHUB_OUTPUT"
87+
echo "images=ghcr.io/${GITHUB_REPOSITORY_OWNER,,}/outlook-email-plus" >> "$GITHUB_OUTPUT"
8988
fi
9089
9190
- name: Log in to GHCR
92-
uses: docker/login-action@v4
91+
uses: docker/login-action@v3
9392
with:
9493
registry: ghcr.io
9594
username: ${{ github.actor }}
9695
password: ${{ secrets.GITHUB_TOKEN }}
9796

9897
- name: Log in to Docker Hub (optional)
9998
if: steps.names.outputs.dockerhub_enabled == 'true'
100-
uses: docker/login-action@v4
99+
uses: docker/login-action@v3
101100
with:
102101
username: ${{ secrets.DOCKERHUB_USERNAME }}
103102
password: ${{ secrets.DOCKERHUB_TOKEN }}
104103

105104
- name: Extract metadata
106105
id: meta
107-
uses: docker/metadata-action@v6
106+
uses: docker/metadata-action@v5
108107
with:
109108
images: ${{ steps.names.outputs.images }}
110109
tags: |
111110
type=ref,event=branch
112-
# tag push 直接使用 Git tag,避免 branch 模板在 tag 事件里生成非法标签
113-
type=ref,event=tag
114-
type=sha,prefix=sha-
111+
type=sha,prefix={{branch}}-
115112
type=raw,value=latest,enable=${{ github.ref_name == 'main' || github.ref_name == 'master' }}
116113
117114
- name: Build and push Docker image
118115
id: build
119-
uses: docker/build-push-action@v7
116+
uses: docker/build-push-action@v5
120117
with:
121118
context: .
122119
push: true

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,6 @@ ALLOW_LOGIN_PASSWORD_CHANGE=false
256256
- IMAP
257257
- APScheduler
258258

259-
友链:https://linux.do
260-
261259
也参考了以下项目的思路:
262260

263261
- [assast/outlookEmail](https://github.com/assast/outlookEmail)

ask_user_analysis.txt

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)