Files
nanobot/.gitea/workflows/main.yaml
T
renovate 54eb0c8c7c
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 46s
PR Checks / build-test (pull_request) Successful in 8m49s
chore(deps): update hadolint/hadolint-action action to v3.5.0
2026-08-26 14:09:33 +00:00

55 lines
1.9 KiB
YAML

name: Main Release
on:
push:
branches: [main]
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@06be81baf89a55ffd0e24b8f04a4185738dd3387 # v3.5.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0
- run: git clone --depth 1 https://github.com/HKUDS/nanobot.git external-nanobot
- uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
- run: docker build -t ci-image:${{ github.sha }} -f external-nanobot/Dockerfile external-nanobot
build:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0
- run: git clone --depth 1 https://github.com/HKUDS/nanobot.git external-nanobot
- uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
- run: docker build -t jcabillot/nanobot:${{ github.sha }} -f external-nanobot/Dockerfile external-nanobot
tag:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0
- name: Configure git auth
run: |
git remote set-url origin "https://x-access-token:${{ secrets.SA_TOKEN_ACTION_PUSH_TAGS }}@scm.cabillot.eu/perso/nanobot.git"
- uses: anothrNick/github-tag-action@4ed44965e0db8dab2b466a16da04aec3cc312fd8 # v1.75.0
env:
GITHUB_TOKEN: ${{ secrets.SA_TOKEN_ACTION_PUSH_TAGS }}
DEFAULT_BUMP: patch
RELEASE_BRANCHES: main
WITH_V: true
GIT_API_TAGGING: false