Compare commits

..

No commits in common. "c27de98c6a6938371162fa2abdb12b3d2a5d1685" and "52122134acf46f5d3675fc31582d53783f09bce6" have entirely different histories.

4 changed files with 15 additions and 18 deletions

View File

@ -1,4 +1,4 @@
name: Build and Push Alpine Image name: Build and Push Alpine Image to docker.io Registry
on: on:
push: push:
branches: branches:
@ -13,7 +13,7 @@ jobs:
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Login to Docker Registry - name: Login to docker.io Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: docker.io registry: docker.io
@ -149,5 +149,4 @@ jobs:
push: true push: true
tags: | tags: |
aprimediet/alpine:3.20 aprimediet/alpine:3.20
aprimediet/alpine:3
aprimediet/alpine:latest aprimediet/alpine:latest

View File

@ -13,7 +13,7 @@ jobs:
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Login to Docker Registry - name: Login to Docker Winter Access Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: git.winteraccess.id registry: git.winteraccess.id
@ -149,8 +149,4 @@ jobs:
push: true push: true
tags: | tags: |
git.winteraccess.id/${{ gitea.repository }}:3.20 git.winteraccess.id/${{ gitea.repository }}:3.20
<<<<<<<< HEAD:.gitea/workflows/winter.yaml
========
git.winteraccess.id/${{ gitea.repository }}:3
>>>>>>>> b2241d5 (Added alpine linux version 3.20):.gitea/workflows/master-winter.yaml
git.winteraccess.id/${{ gitea.repository }}:latest git.winteraccess.id/${{ gitea.repository }}:latest

View File

@ -1,21 +1,23 @@
ARG ALPINE_VERSION=3.20 ARG ALPINE_VERSION=3.19
FROM alpine:${ALPINE_VERSION} FROM alpine:${ALPINE_VERSION}
LABEL maintainer="<Aditya Prima> aprimediet@gmail.com" LABEL maintainer="<Aditya Prima> aprimediet@gmail.com"
ARG ALPINE_VERSION=3.20 ARG ALPINE_VERSION=3.19
ARG S6_VERSION=3.1.6.2
# ARG ALPINE_MIRROR=https://dl-cdn.alpinelinux.org
ARG TZ=Asia/Jakarta ARG TZ=Asia/Jakarta
# SET REPOSITORY MIRROR
# RUN echo "${ALPINE_MIRROR}/v${ALPINE_VERSION}/main" > /etc/apk/repositories
# RUN echo "${ALPINE_MIRROR}/v${ALPINE_VERSION}/community" >> /etc/apk/repositories
# Set User as root # Set User as root
USER root USER root
# INSTALL BASE DEPENDENCIES # INSTALL BASE DEPENDENCIES
RUN --mount=type=cache,target=/var/cache/apk \ RUN apk add --update --no-cache \
apk add --update \ bash libcap tzdata curl
libcap tzdata curl
# SET LOCAL TIMEZONE # SET LOCAL TIMEZONE
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# CLEAN APK CACHES
RUN rm -vrf /var/cache/apk/*

View File

@ -1,3 +1,3 @@
# alpine # alpine
Alpine Linux Base Image with +7 Timezone Alpine Linux Base Image