Skip to content

Commit f941d4a

Browse files
committed
ci(bump): separate versions check from regular build
1 parent d7b5796 commit f941d4a

File tree

3 files changed

+43
-6
lines changed

3 files changed

+43
-6
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: APK Check Versions
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * 0"
6+
workflow_dispatch:
7+
8+
permissions: {}
9+
10+
jobs:
11+
check:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check the versions
15+
shell: bash
16+
run: |
17+
docker run --pull always -t --user root "leplusorg/${GITHUB_REPOSITORY#*/}:main" sh -c '
18+
apk update
19+
if apk -u list | tee -a /dev/stderr | grep -q -e . ; then
20+
exit 1 ;
21+
fi
22+
'
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Luarocks Check Versions
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * 0"
6+
workflow_dispatch:
7+
8+
permissions: {}
9+
10+
jobs:
11+
check:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check the versions
15+
shell: bash
16+
run: |
17+
docker run --pull always -t --user root "leplusorg/${GITHUB_REPOSITORY#*/}:main" sh -c '
18+
if luarocks list --outdated | tee -a /dev/stderr | grep -q -e '"'"'^lua-resty-openidc$'"'"' ; then \
19+
exit 1 ;
20+
fi
21+
'

openid-connect-provider-debugger/Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ RUN apk -U upgrade \
1414
&& apk add \
1515
curl=8.12.1-r1 \
1616
patch=2.7.6-r10 \
17-
&& if apk -u list | tee -a /dev/stderr | grep -q -e . ; then \
18-
exit 1 ; \
19-
fi \
2017
&& apk cache clean \
2118
&& rm -rf /var/cache/apk/*
2219

@@ -25,9 +22,6 @@ RUN if [ -z "${LUA_RESTY_OPENIDC_VERSION}" ]; then \
2522
luarocks install lua-resty-openidc ; \
2623
else \
2724
luarocks install lua-resty-openidc --pin "${LUA_RESTY_OPENIDC_VERSION}" ; \
28-
fi \
29-
&& if luarocks list --outdated | tee -a /dev/stderr | grep -q -e '^lua-resty-openidc$' ; then \
30-
exit 1 ; \
3125
fi
3226

3327
RUN patch /usr/local/openresty/nginx/conf/nginx.conf /usr/local/openresty/nginx/conf/nginx.conf.patch \

0 commit comments

Comments
 (0)