update
Some checks failed
Test CI / test speed (push) Successful in 19s
Test CI / build-and-push (push) Failing after 1m42s
Some checks failed
Test CI / test speed (push) Successful in 19s
Test CI / build-and-push (push) Failing after 1m42s
This commit is contained in:
parent
1b75a45984
commit
53ec2773ac
@ -5,8 +5,8 @@ on:
|
||||
paths:
|
||||
- "basedockerfile"
|
||||
- ".gitea/workflows/build_image.yaml"
|
||||
schedule:
|
||||
- cron: "0 0 1 * *" # 每月1号00:00执行
|
||||
# schedule:
|
||||
# - cron: "0 0 1 * *" # 每月1号00:00执行
|
||||
|
||||
env:
|
||||
REGISTRY: git.mamahaha.work
|
||||
@ -20,17 +20,17 @@ jobs:
|
||||
uses: https://git.mamahaha.work/actions/checkout@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: https://git.mamahaha.work/actions/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Private Registry
|
||||
uses: docker/login-action@v3
|
||||
uses: https://git.mamahaha.work/actions/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
uses: https://git.mamahaha.work/actions/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: basedockerfile
|
||||
|
@ -38,17 +38,17 @@ jobs:
|
||||
uses: https://git.mamahaha.work/actions/checkout@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: https://git.mamahaha.work/actions/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Private Registry
|
||||
uses: docker/login-action@v3
|
||||
uses: https://git.mamahaha.work/actions/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
uses: https://git.mamahaha.work/actions/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: basedockerfile
|
||||
|
Loading…
x
Reference in New Issue
Block a user