Compare commits
2 Commits
1c5a1db991
...
182de6c8cc
Author | SHA1 | Date | |
---|---|---|---|
182de6c8cc | |||
|
faa898f3e1 |
@ -4,7 +4,7 @@ on: [push]
|
|||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: python:3.12.3
|
container: python:3.12.4
|
||||||
steps:
|
steps:
|
||||||
- run: apt-get update
|
- run: apt-get update
|
||||||
- run: apt-get install -y git nodejs
|
- run: apt-get install -y git nodejs
|
||||||
@ -43,7 +43,7 @@ jobs:
|
|||||||
|
|
||||||
pypi:
|
pypi:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: python:3.12.3
|
container: python:3.12.4
|
||||||
needs: [lint]
|
needs: [lint]
|
||||||
if: gitea.ref_type == 'tag'
|
if: gitea.ref_type == 'tag'
|
||||||
env:
|
env:
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
FROM python:3.12.3 as build
|
FROM python:3.12.4 as build
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN pip install poetry && poetry build
|
RUN pip install poetry && poetry build
|
||||||
|
|
||||||
FROM python:3.12.3
|
FROM python:3.12.4
|
||||||
|
|
||||||
COPY --from=build /app/dist /tmp/dist
|
COPY --from=build /app/dist /tmp/dist
|
||||||
RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist
|
RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist
|
||||||
|
Loading…
Reference in New Issue
Block a user