File tree 2 files changed +15
-9
lines changed
build-scripts/manylinux-container-image
2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -45,28 +45,32 @@ jobs:
45
45
# Build containers for ppc64
46
46
# - ARCH: ppc64
47
47
YEAR :
48
- - 2014
49
- - _2_24 # PEP 600
50
- - _2_28
48
+ - VALUE : 2014
49
+ TAG : 2025.01.19-2
50
+ - VALUE : _2_24 # PEP 600
51
+ - VALUE : _2_28
52
+ TAG : 2025.01.19-2
51
53
include :
52
54
- IMAGE :
53
55
ARCH : x86_64
54
56
QEMU_ARCH : amd64
55
- YEAR : 1
57
+ YEAR :
58
+ VALUE : 1
56
59
- IMAGE :
57
60
ARCH : x86_64
58
61
QEMU_ARCH : amd64
59
- YEAR : 2010
62
+ YEAR :
63
+ VALUE : 2010
60
64
61
65
env :
62
66
LIBSSH_VERSION : 0.9.6
63
67
PYPA_MANYLINUX_TAG : >-
64
- manylinux${{ matrix.YEAR }}_${{ matrix.IMAGE.ARCH }}
68
+ manylinux${{ matrix.YEAR.VALUE }}_${{ matrix.IMAGE.ARCH }}
65
69
FULL_IMAGE_NAME : >-
66
70
${{
67
71
github.repository
68
72
}}-manylinux${{
69
- matrix.YEAR
73
+ matrix.YEAR.VALUE
70
74
}}_${{
71
75
matrix.IMAGE.ARCH
72
76
}}
78
82
79
83
name : >- # can't use `env` in this context:
80
84
🐳
81
- manylinux${{ matrix.YEAR }}_${{ matrix.IMAGE.ARCH }}
85
+ manylinux${{ matrix.YEAR.VALUE }}_${{ matrix.IMAGE.ARCH }}
82
86
steps :
83
87
- name : Fetch the repo src
84
88
uses : actions/checkout@v4.1.6
@@ -108,6 +112,7 @@ jobs:
108
112
build-args : |
109
113
LIBSSH_VERSION=${{ env.LIBSSH_VERSION }}
110
114
RELEASE=${{ env.PYPA_MANYLINUX_TAG }}
115
+ TAG=${{ matrix.YEAR.TAG || 'latest' }}
111
116
- name : Push to GitHub Container Registry
112
117
if : >-
113
118
(github.event_name == 'push' || github.event_name == 'schedule')
Original file line number Diff line number Diff line change 1
1
ARG RELEASE
2
- FROM quay.io/pypa/${RELEASE}:2025.01.19-2
2
+ ARG TAG
3
+ FROM quay.io/pypa/${RELEASE}:${TAG}
3
4
ARG RELEASE
4
5
ARG LIBSSH_VERSION=0.9.6
5
6
MAINTAINER Python Cryptographic Authority
You can’t perform that action at this time.
0 commit comments