Skip to content

Commit 4093128

Browse files
author
Dmitriy Safronov
authored
refactor: remove custom updater (#14)
Signed-off-by: Dmitriy Safronov <zimniy@cyberbrain.pw>
1 parent 714b9d5 commit 4093128

File tree

7 files changed

+3
-119
lines changed

7 files changed

+3
-119
lines changed

.github/actions/get-latest-docker-tag/action.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/actions/get-latest-docker-tag/find_latest_tag.sh

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
- name: Read Nginx (unprivileged) version from file
3838
run: |
39-
NGINX_VERSION=$(cat .nginx-version)
39+
NGINX_VERSION=$(cat Dockerfile | grep -i 'FROM' | cut -s -d ':' -f 2-)
4040
echo "NGINX_VERSION=$NGINX_VERSION" >> $GITHUB_ENV
4141
4242
# Workaround: https://github.com/docker/build-push-action/issues/461

.github/workflows/update.yaml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.nginx-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
ARG NGINX_VERSION=mainline-alpine
2-
3-
FROM nginxinc/nginx-unprivileged:${NGINX_VERSION}
1+
FROM nginxinc/nginx-unprivileged:1.27.3-alpine-slim
42

53
COPY default.conf /etc/nginx/conf.d/

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright [yyyy] [name of copyright owner]
189+
Copyright 2025 Dmitriy Safronov
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)