Skip to content

Commit f9cbaf4

Browse files
committed
remove code ready builder repo
1 parent 09a49de commit f9cbaf4

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/build-ubi-dependency.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,3 @@ jobs:
138138
build-args: |
139139
NGINX=${{ needs.checks.outputs.nginx_version }}
140140
NJS=${{ needs.checks.outputs.njs_version }}
141-
secrets: |
142-
${{ format('"rhel_license={0}"', secrets.RHEL_LICENSE) }}

build/dependencies/Dockerfile.ubi

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ ARG NGINX
66
ARG NJS
77
ENV NGINX_VERSION=${NGINX}
88
ENV NJS_VERSION=${NJS}
9-
RUN --mount=type=secret,id=rhel_license,dst=/tmp/rhel_license,mode=0644 mkdir -p /nginx/; \
9+
RUN mkdir -p /nginx/; \
1010
# only build for ppc64le but make multiarch image for mounting
1111
[ $(uname -p) = x86_64 ] && exit 0; \
1212
[ $(uname -p) = aarch64 ] && exit 0; \
13-
source /tmp/rhel_license \
1413
&& rpm --import https://nginx.org/keys/nginx_signing.key \
1514
&& MINOR_VERSION=$(echo ${NGINX_VERSION} | cut -d '.' -f 2) \
1615
&& if [ $(( $MINOR_VERSION % 2)) -eq 0 ]; then echo mainline=""; else mainline="mainline/"; fi \
@@ -25,7 +24,6 @@ RUN --mount=type=secret,id=rhel_license,dst=/tmp/rhel_license,mode=0644 mkdir -p
2524
nginx-module-image-filter-${NGINX_VERSION} \
2625
nginx-module-njs-${NGINX_VERSION}+${NJS_VERSION} \
2726
" \
28-
&& dnf config-manager --set-enabled ubi-9-codeready-builder \
2927
&& dnf download --source ${nginxPackages} \
3028
&& dnf builddep -y --srpm nginx*.rpm \
3129
&& rpmbuild --rebuild --nodebuginfo nginx*.rpm \

0 commit comments

Comments
 (0)