File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 6969 push : ${{ github.event_name != 'pull_request' }}
7070 tags : ${{ steps.meta.outputs.tags }}
7171 labels : ${{ steps.meta.outputs.labels }}
72+ build-args : |
73+ VERSION=${{ github.ref_type == 'tag' && github.ref_name || github.sha }}
Original file line number Diff line number Diff line change 11FROM python:3.12.9-alpine3.21
22
3+ ARG VERSION=1.0.0
4+
5+ LABEL maintainer="AptS-1547 <apts-1547@esaps.net>" \
6+ version="${VERSION}" \
7+ description="A simple webhook server for GitHub to send events to a OneBot (CQHTTP) bot." \
8+ homepage="https://onebot-github-webhook.docs.ecaps.top/" \
9+ repository="https://github.com/AptS-1547/onebot-github-webhook" \
10+ license="Apache-2.0" \
11+ license_url="http://www.apache.org/licenses/LICENSE-2.0"
12+
13+ LABEL org.opencontainers.image.source="https://github.com/AptS-1547/onebot-github-webhook" \
14+ org.opencontainers.image.description="A simple webhook server for GitHub to send events to a OneBot (CQHTTP) bot." \
15+ org.opencontainers.image.licenses="Apache-2.0"
16+
317WORKDIR /app
418
519ENV PYTHONDONTWRITEBYTECODE=1 \
You can’t perform that action at this time.
0 commit comments