File tree 5 files changed +21
-18
lines changed
5 files changed +21
-18
lines changed Original file line number Diff line number Diff line change 41
41
with :
42
42
username : ${{ secrets.DOCKERHUB_USERNAME }}
43
43
password : ${{ secrets.DOCKERHUB_TOKEN }}
44
- -
45
- name : Login to GitHub Container Registry
46
- uses : docker/login-action@v2
47
- with :
48
- registry : ghcr.io
49
- username : ${{ github.repository_owner }}
50
- password : ${{ secrets.GITHUB_TOKEN }}
51
44
-
52
45
name : Build and push
53
46
id : docker_build
Original file line number Diff line number Diff line change 46
46
with :
47
47
username : ${{ secrets.DOCKERHUB_USERNAME }}
48
48
password : ${{ secrets.DOCKERHUB_TOKEN }}
49
- -
50
- name : Login to GitHub Container Registry
51
- uses : docker/login-action@v2
52
- with :
53
- registry : ghcr.io
54
- username : ${{ github.repository_owner }}
55
- password : ${{ secrets.GITHUB_TOKEN }}
56
49
-
57
50
name : Build and push
58
51
id : docker_build
Original file line number Diff line number Diff line change 1
- FROM bfren/nginx:nginx1.22-4.0.26
1
+ FROM bfren/nginx:nginx1.22-4.0.27
2
2
3
3
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-proxy"
4
4
Original file line number Diff line number Diff line change 1
- 5.1.14
1
+ 5.1.15
Original file line number Diff line number Diff line change 11
11
< body >
12
12
< h1 > Maintenance</ h1 >
13
13
< p > The site you requested is temporarily down for maintenance. Please try again later.</ p >
14
- < p class ="muted "> This page will auto-refresh every ten seconds .</ p >
14
+ < p class ="muted "> This page will auto-refresh in < span id =" remaining " > 10 </ span > s .</ p >
15
15
< script type ="text/javascript ">
16
- setTimeout ( "location.reload(true);" , 10000 ) ;
16
+ let remaining = 10 ;
17
+ let countdown = function ( ) {
18
+ // reload the page
19
+ if ( remaining == 0 ) {
20
+ location . reload ( true ) ;
21
+ return ;
22
+ }
23
+
24
+ // update the message and reduce time remaining
25
+ document . getElementById ( "remaining" ) . innerText = remaining . toString ( ) ;
26
+ remaining -- ;
27
+
28
+ // fire function again in one second
29
+ setTimeout ( countdown , 1000 ) ;
30
+ }
31
+
32
+ // fire first time manually
33
+ countdown ( ) ;
17
34
</ script >
18
35
</ body >
19
36
</ html >
You can’t perform that action at this time.
0 commit comments