File tree Expand file tree Collapse file tree 5 files changed +21
-18
lines changed Expand file tree Collapse file tree 5 files changed +21
-18
lines changed Original file line number Diff line number Diff line change 4141 with:
4242 username: ${{ secrets.DOCKERHUB_USERNAME }}
4343 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 }}
5144 -
5245 name: Build and push
5346 id: docker_build
Original file line number Diff line number Diff line change 4646 with:
4747 username: ${{ secrets.DOCKERHUB_USERNAME }}
4848 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 }}
5649 -
5750 name: Build and push
5851 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
22
33LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-proxy"
44
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 1111<body>
1212<h1>Maintenance</h1>
1313<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>
1515<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();
1734</script>
1835</body>
1936</html>
You can’t perform that action at this time.
0 commit comments