Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
46fb495ccb
|
|||
|
41b76651ba
|
|||
| fcdde47194 | |||
| 5ee6bad8be |
@@ -15,6 +15,9 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Clone HKUDS/nanobot source
|
||||
run: git clone --depth 1 https://github.com/HKUDS/nanobot.git external-nanobot
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v4
|
||||
|
||||
@@ -39,8 +42,8 @@ jobs:
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v7
|
||||
with:
|
||||
context: nanobot
|
||||
file: nanobot/Dockerfile
|
||||
context: external-nanobot
|
||||
file: external-nanobot/Dockerfile
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"regexManagers": [
|
||||
{
|
||||
"description": "Track HKUDS/nanobot upstream releases (Dockerfile cloned at CI time)",
|
||||
"fileMatch": ["^\\.gitea/workflows/docker-build\\.yaml$"],
|
||||
"matchStrings": [
|
||||
"git clone.*https://github.com/HKUDS/nanobot\\.git.*external-nanobot"
|
||||
],
|
||||
"depNameTemplate": "HKUDS/nanobot",
|
||||
"datasourceTemplate": "github-tags"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user