Compare commits

...

2 Commits

Author SHA1 Message Date
Muhamad Aditya Prima 98222c5e2f Updated action workflow to use separate branch
Build and push Nginx on alpine based container images / Build nginx container images (map[alpine:3.17 nginx:1.22]) (push) Successful in 2m13s Details
Build and push Nginx on alpine based container images / Build nginx container images (map[alpine:3.19 nginx:1.24]) (push) Successful in 1m22s Details
Build and push Nginx on alpine based container images / Build nginx container images (map[alpine:3.21 nginx:1.26]) (push) Successful in 1m8s Details
Build and push Nginx on alpine based container images / Build latest nginx alpine based container images (push) Successful in 46s Details
2024-12-18 01:17:05 +07:00
Muhamad Aditya Prima f72df1d340 Updated nginx on alpine 2024-12-18 01:16:37 +07:00
3 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,7 @@ name: Build and push Nginx on almalinux based container images
on:
push:
branches:
- master
- almalinux
jobs:
build:

View File

@ -3,7 +3,7 @@ name: Build and push Nginx on alpine based container images
on:
push:
branches:
- master
- alpine
jobs:
build:

View File

@ -3,7 +3,7 @@
# 1.26.2 Alpine 3.21
ARG ALPINE_VERSION=3.21
FROM quay.io/aprimediet/alpine:${ALPINE_VERSION} AS builder
FROM quay.io/sindigilive/alpine:${ALPINE_VERSION} AS builder
LABEL maintainer="<Muhamad Aditya Prima> map@sindigilive.com"
USER root
@ -13,6 +13,7 @@ ENV NGINX_ROOT_DIR=/app
# Add nginx user and group and install nginx
RUN /usr/sbin/addgroup -g 10001 nginx; \
/usr/sbin/adduser -D -u 10001 -G nginx -s /sbin/nologin -h ${NGINX_ROOT_DIR}/htdocs nginx; \
/usr/sbin/addgroup nginx tty; \
/sbin/apk --no-cache upgrade; \
/sbin/apk --no-cache --update add \
nginx;