Commit d37ea00 1 parent 60a8c27 commit d37ea00 Copy full SHA for d37ea00
File tree 7 files changed +18
-10
lines changed
7 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 33
33
- name : Login to GitHub Container Registry
34
34
uses : docker/login-action@v2
35
35
with :
36
- registry : ${{ env.image_url_base }}
36
+ registry : " ghcr.io/ ${{ github.repository_owner }}"
37
37
username : ${{ github.actor }}
38
- password : ${{ secrets.GITHUB_TOKEN }}
38
+ password : ${{ secrets.ROBOT_GITHUB_PACKAGES_WRITE_TOKEN }}
39
39
40
40
- name : Build and push
41
41
uses : docker/build-push-action@v4
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ jobs:
136
136
with :
137
137
registry : " ghcr.io"
138
138
username : ${{ github.actor }}
139
- password : ${{ secrets.GITHUB_TOKEN }}
139
+ password : ${{ secrets.ROBOT_GITHUB_PACKAGES_WRITE_TOKEN }}
140
140
141
141
- name : Cleanup build folder
142
142
run : |
Original file line number Diff line number Diff line change 13
13
pytest :
14
14
runs-on : [ self-hosted, linux ]
15
15
container :
16
- image : " python:3.11.0"
16
+ image : " ghcr.io/${{ github.repository_owner }}/docker-mirror/python:3.11.0"
17
+ credentials :
18
+ username : ${{ github.actor }}
19
+ password : ${{ secrets.ROBOT_GITHUB_PACKAGES_READ_TOKEN }}
17
20
18
21
strategy :
19
22
fail-fast : false
45
48
mypy :
46
49
runs-on : [ self-hosted, linux ]
47
50
container :
48
- image : " python:3.11.0"
51
+ image : " ghcr.io/${{ github.repository_owner }}/docker-mirror/python:3.11.0"
52
+ credentials :
53
+ username : ${{ github.actor }}
54
+ password : ${{ secrets.ROBOT_GITHUB_PACKAGES_READ_TOKEN }}
49
55
50
56
strategy :
51
57
fail-fast : false
Original file line number Diff line number Diff line change 1
1
# All variables should be prefixed with `DL_B_`
2
2
3
3
variable BASE_LINUX {
4
- default = " ubuntu:22.04"
4
+ default = " ghcr.io/datalens-tech/docker-mirror/ ubuntu:22.04"
5
5
}
6
6
7
7
variable DL_B_PROJECT_ROOT {
8
8
default = " .."
9
9
}
10
10
11
11
variable DL_B_FILE_OPS_IMG {
12
- default = " debian:bookworm-slim"
12
+ default = " ghcr.io/datalens-tech/docker-mirror/ debian:bookworm-slim"
13
13
}
14
14
15
15
variable DL_B_EXT_CACHED_TARGET_BASE_CI {
Original file line number Diff line number Diff line change 1
- FROM debian:bookworm
1
+ FROM ghcr.io/datalens-tech/docker-mirror/ debian:bookworm
2
2
3
3
# run all scripts in ./scripts in alphabetical order
4
4
COPY ./scripts /tmp/scripts
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ mkdir /venv
6
6
python -m venv /venv
7
7
source /venv/bin/activate
8
8
9
- pip install --no-input poetry==1.7.1
9
+ # TODO FIX: pyproject-hooks fix version: https://github.com/python-poetry/poetry/issues/9351
10
+ pip install --no-input poetry==1.7.1 pyproject-hooks==1.0.0
10
11
11
12
cd /src/metapkg
12
13
poetry export --without=dev --without=ci --without-hashes --format=requirements.txt > requirements.txt
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ RUN bash /install/install_py_310.sh
27
27
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10
28
28
RUN python3 -m pip install -U pip
29
29
# TODO FIX: try to install j2cli to dedicated venv & make symlink in /usr/local/bin
30
- RUN python3 -m pip install poetry==1.7.1 j2cli==0.3.10
30
+ # TODO FIX: pyproject-hooks fix version: https://github.com/python-poetry/poetry/issues/9351
31
+ RUN python3 -m pip install poetry==1.7.1 j2cli==0.3.10 pyproject-hooks==1.0.0
31
32
32
33
RUN curl "https://storage.yandexcloud.net/cloud-certs/CA.pem" > /usr/local/share/ca-certificates/yandex-cloud-ca.crt
33
34
RUN update-ca-certificates
You can’t perform that action at this time.
0 commit comments