mirror of
https://github.com/simple-login/app.git
synced 2025-09-04 13:44:23 +08:00
Update uv in Dockerfile (#2496)
* Update uv in Dockerfile * Update workflow * Update last entry of workflow * Set the uv version as an env var * Update variable use
This commit is contained in:
parent
cda2a107f8
commit
0211e044bf
2 changed files with 5 additions and 4 deletions
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
@ -10,6 +10,7 @@ on:
|
|||
|
||||
env:
|
||||
CMAKE_POLICY_VERSION_MINIMUM: 3.5
|
||||
UV_VERSION: 0.7.13
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
@ -22,7 +23,7 @@ jobs:
|
|||
uses: astral-sh/setup-uv@v5
|
||||
with:
|
||||
# Install a specific version of uv.
|
||||
version: "0.5.21"
|
||||
version: ${{ env.UV_VERSION }}
|
||||
enable-cache: true
|
||||
|
||||
- name: Install OS dependencies
|
||||
|
@ -76,7 +77,7 @@ jobs:
|
|||
uses: astral-sh/setup-uv@v5
|
||||
with:
|
||||
# Install a specific version of uv.
|
||||
version: "0.5.21"
|
||||
version: ${{ env.UV_VERSION }}
|
||||
enable-cache: true
|
||||
|
||||
- name: Install OS dependencies
|
||||
|
|
|
@ -6,8 +6,8 @@ RUN cd /code/static && npm ci
|
|||
|
||||
FROM --platform=linux/amd64 ubuntu:22.04
|
||||
|
||||
ARG UV_VERSION="0.5.21"
|
||||
ARG UV_HASH="e108c300eafae22ad8e6d94519605530f18f8762eb58d2b98a617edfb5d088fc"
|
||||
ARG UV_VERSION="0.7.13"
|
||||
ARG UV_HASH="560bb64e060354e45138d7dd47c8dd48a4f7a349af5520d29cd3c704e79f286c"
|
||||
|
||||
# Keeps Python from generating .pyc files in the container
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
|
|
Loading…
Add table
Reference in a new issue