1 Commits

Author SHA1 Message Date
Renovate Bot ad6de1fd99 chore(deps): update docker/login-action action to v4
Build and publish container / build (pull_request) Successful in 5m11s
2026-06-12 00:02:54 +00:00
2 changed files with 2 additions and 23 deletions
+1 -22
View File
@@ -1,31 +1,10 @@
name: Build and publish container
# Only run when files that affect the built image change. Updates to CI
# config, Renovate config, or docs (e.g. a Renovate bump of the checkout
# action) do not change the image and so do not trigger a build or release.
# Use workflow_dispatch to run manually after a pipeline change.
on:
push:
branches: [main]
paths:
- 'Dockerfile'
- 'default.conf'
- 'index.html'
- 'styles.css'
- 'script.js'
- 'messages.js'
- '.dockerignore'
pull_request:
branches: [main]
paths:
- 'Dockerfile'
- 'default.conf'
- 'index.html'
- 'styles.css'
- 'script.js'
- 'messages.js'
- '.dockerignore'
workflow_dispatch:
defaults:
run:
@@ -122,7 +101,7 @@ jobs:
- name: Log in to the Gitea container registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
+1 -1
View File
@@ -1,7 +1,7 @@
# Lightweight, non-root nginx serving the static site.
# Runs as user "nginx" and listens on 8080, ready to sit behind an
# external reverse proxy that terminates TLS and forwards requests.
FROM nginxinc/nginx-unprivileged:1.31-alpine-slim@sha256:6616de6eaa82bc2ee3541fa287a8fca7dc7271e6374e9402014dbd13f4a980ae
FROM nginxinc/nginx-unprivileged:1.27-alpine-slim
COPY default.conf /etc/nginx/conf.d/default.conf
COPY --chown=nginx:nginx index.html styles.css script.js messages.js /usr/share/nginx/html/