Added build arguments for php-apache images
Build and Push Alpine PHP Image / Build and push image (push) Successful in 56s Details
Build and Push Alpine PHP Image / Build and push apache image (push) Successful in 1m7s Details
Build and Push Ubuntu PHP 8.3 Image / Build and push image (push) Successful in 53s Details

This commit is contained in:
Aditya Prima 2024-09-19 16:02:42 +07:00
parent f9879a0ffb
commit 2070857370
3 changed files with 20 additions and 4 deletions

View File

@ -13,7 +13,7 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Login to Docker Winter Access Git Registry
- name: Login to Docker Registry
uses: docker/login-action@v3
with:
registry: docker.io
@ -127,7 +127,7 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Login to Docker Winter Access Git Registry
- name: Login to Registry
uses: docker/login-action@v3
with:
registry: docker.io
@ -142,6 +142,7 @@ jobs:
REGISTRY_URL=docker.io/aprimediet
ALPINE_VERSION=3.5
PHP_VERSION=5
PHP=5.6
push: true
tags: |
aprimediet/php:5.6-apache-alpine
@ -154,6 +155,7 @@ jobs:
REGISTRY_URL=docker.io/aprimediet
ALPINE_VERSION=3.9
PHP_VERSION=7
PHP=7.2
push: true
tags: |
aprimediet/php:7.2-apache-alpine
@ -166,6 +168,7 @@ jobs:
REGISTRY_URL=docker.io/aprimediet
ALPINE_VERSION=3.10
PHP_VERSION=7
PHP=7.3
push: true
tags: |
aprimediet/php:7.3-apache-alpine
@ -178,6 +181,7 @@ jobs:
REGISTRY_URL=docker.io/aprimediet
ALPINE_VERSION=3.13
PHP_VERSION=7
PHP=7.4
push: true
tags: |
aprimediet/php:7.4-apache-alpine
@ -190,6 +194,7 @@ jobs:
REGISTRY_URL=docker.io/aprimediet
ALPINE_VERSION=3.16
PHP_VERSION=8
PHP=8.0
push: true
tags: |
aprimediet/php:8.0-apache-alpine
@ -202,6 +207,7 @@ jobs:
REGISTRY_URL=docker.io/aprimediet
ALPINE_VERSION=3.18
PHP_VERSION=81
PHP=8.1
push: true
tags: |
aprimediet/php:8.1-apache-alpine
@ -214,6 +220,7 @@ jobs:
REGISTRY_URL=docker.io/aprimediet
ALPINE_VERSION=3.18
PHP_VERSION=82
PHP=8.2
push: true
tags: |
aprimediet/php:8.2-apache-alpine
@ -226,6 +233,7 @@ jobs:
REGISTRY_URL=docker.io/aprimediet
ALPINE_VERSION=3.19
PHP_VERSION=83
PHP=8.3
push: true
tags: |
aprimediet/php:8-apache-alpine

View File

@ -132,6 +132,7 @@ jobs:
build-args: |
ALPINE_VERSION=3.5
PHP_VERSION=5
PHP=5.6
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:5.6-apache-alpine
@ -143,6 +144,7 @@ jobs:
build-args: |
ALPINE_VERSION=3.9
PHP_VERSION=7
PHP=7.2
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:7.2-apache-alpine
@ -154,6 +156,7 @@ jobs:
build-args: |
ALPINE_VERSION=3.10
PHP_VERSION=7
PHP=7.3
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:7.3-apache-alpine
@ -165,6 +168,7 @@ jobs:
build-args: |
ALPINE_VERSION=3.13
PHP_VERSION=7
PHP=7.4
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:7.4-apache-alpine
@ -176,6 +180,7 @@ jobs:
build-args: |
ALPINE_VERSION=3.16
PHP_VERSION=8
PHP=8.0
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:8.0-apache-alpine
@ -187,6 +192,7 @@ jobs:
build-args: |
ALPINE_VERSION=3.18
PHP_VERSION=81
PHP=8.1
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:8.1-apache-alpine
@ -198,6 +204,7 @@ jobs:
build-args: |
ALPINE_VERSION=3.18
PHP_VERSION=82
PHP=8.2
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:8.2-apache-alpine
@ -209,6 +216,7 @@ jobs:
build-args: |
ALPINE_VERSION=3.19
PHP_VERSION=83
PHP=8.3
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:8-apache-alpine

View File

@ -1,7 +1,7 @@
ARG REGISTRY_URL=git.winteraccess.id/docker
ARG PHP_VERSION=8.3
ARG PHP=8.3
FROM ${REGISTRY_URL}/php:${PHP_VERSION}-alpine
FROM ${REGISTRY_URL}/php:${PHP}-alpine
LABEL maintainer "<Muhamad Aditya Prima> aprimediet@gmail.com"
# DEFINE ENV