Compare commits

...

3 Commits

Author SHA1 Message Date
Aditya Prima c27de98c6a Removed unused workflows
Build and Push Alpine Image / Build and push image (push) Has been cancelled Details
2024-09-11 19:35:16 +07:00
Aditya Prima 5e1c2f82a7 Added alpine linux version 3.20 2024-09-11 19:32:53 +07:00
Aditya Prima 8b526a7eba Removing bash 2024-09-11 19:31:37 +07:00
4 changed files with 18 additions and 15 deletions

View File

@ -1,4 +1,4 @@
name: Build and Push Alpine Image to docker.io Registry name: Build and Push Alpine Image
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.io Registry - name: Login to Docker Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: docker.io registry: docker.io
@ -149,4 +149,5 @@ 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 Winter Access Registry - name: Login to Docker Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: git.winteraccess.id registry: git.winteraccess.id
@ -149,4 +149,8 @@ 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,23 +1,21 @@
ARG ALPINE_VERSION=3.19 ARG ALPINE_VERSION=3.20
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.19 ARG ALPINE_VERSION=3.20
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 apk add --update --no-cache \ RUN --mount=type=cache,target=/var/cache/apk \
bash libcap tzdata curl apk add --update \
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 Alpine Linux Base Image with +7 Timezone