Added several php version
Build and Push Ubuntu PHP 5.6 Image / Build and push image (push) Failing after 16s Details
Build and Push Ubuntu PHP 7.2 Image / Build and push image (push) Failing after 15s Details
Build and Push Ubuntu PHP 7.3 Image / Build and push image (push) Failing after 10s Details
Build and Push Ubuntu PHP 7.4 Image / Build and push image (push) Failing after 14s Details
Build and Push Ubuntu PHP 8.0 Image / Build and push image (push) Failing after 15s Details
Build and Push Ubuntu PHP 8.1 Image / Build and push image (push) Failing after 17s Details
Build and Push Ubuntu PHP 8.2 Image / Build and push image (push) Failing after 19s Details
Build and Push Ubuntu PHP 8.3 Image / Build and push image (push) Failing after 13s Details

This commit is contained in:
Aditya Prima 2024-03-23 18:03:25 +07:00
parent 4761e6bb1d
commit f768cec1a6
7 changed files with 224 additions and 0 deletions

View File

@ -0,0 +1,32 @@
name: Build and Push Ubuntu PHP 5.6 Image
on:
push:
branches:
- master
jobs:
build:
name: Build and push image
runs-on: ubuntu-latest
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Login to Docker Winter Access Git Registry
uses: docker/login-action@v3
with:
registry: git.winteraccess.id
username: aditya.prima
password: ${{ secrets.PATOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.ubuntu
build-args: |
UBUNTU_VERSION=latest
PHP_VERSION=5.6
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:5.6-ubuntu

View File

@ -0,0 +1,32 @@
name: Build and Push Ubuntu PHP 7.2 Image
on:
push:
branches:
- master
jobs:
build:
name: Build and push image
runs-on: ubuntu-latest
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Login to Docker Winter Access Git Registry
uses: docker/login-action@v3
with:
registry: git.winteraccess.id
username: aditya.prima
password: ${{ secrets.PATOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.ubuntu
build-args: |
UBUNTU_VERSION=latest
PHP_VERSION=7.2
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:7.2-ubuntu

View File

@ -0,0 +1,32 @@
name: Build and Push Ubuntu PHP 7.3 Image
on:
push:
branches:
- master
jobs:
build:
name: Build and push image
runs-on: ubuntu-latest
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Login to Docker Winter Access Git Registry
uses: docker/login-action@v3
with:
registry: git.winteraccess.id
username: aditya.prima
password: ${{ secrets.PATOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.ubuntu
build-args: |
UBUNTU_VERSION=latest
PHP_VERSION=7.3
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:7.3-ubuntu

View File

@ -0,0 +1,32 @@
name: Build and Push Ubuntu PHP 7.4 Image
on:
push:
branches:
- master
jobs:
build:
name: Build and push image
runs-on: ubuntu-latest
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Login to Docker Winter Access Git Registry
uses: docker/login-action@v3
with:
registry: git.winteraccess.id
username: aditya.prima
password: ${{ secrets.PATOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.ubuntu
build-args: |
UBUNTU_VERSION=latest
PHP_VERSION=7.4
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:7.4-ubuntu

View File

@ -0,0 +1,32 @@
name: Build and Push Ubuntu PHP 8.0 Image
on:
push:
branches:
- master
jobs:
build:
name: Build and push image
runs-on: ubuntu-latest
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Login to Docker Winter Access Git Registry
uses: docker/login-action@v3
with:
registry: git.winteraccess.id
username: aditya.prima
password: ${{ secrets.PATOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.ubuntu
build-args: |
UBUNTU_VERSION=latest
PHP_VERSION=8.0
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:8.0-ubuntu

View File

@ -0,0 +1,32 @@
name: Build and Push Ubuntu PHP 8.1 Image
on:
push:
branches:
- master
jobs:
build:
name: Build and push image
runs-on: ubuntu-latest
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Login to Docker Winter Access Git Registry
uses: docker/login-action@v3
with:
registry: git.winteraccess.id
username: aditya.prima
password: ${{ secrets.PATOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.ubuntu
build-args: |
UBUNTU_VERSION=latest
PHP_VERSION=8.1
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:8.1-ubuntu

View File

@ -0,0 +1,32 @@
name: Build and Push Ubuntu PHP 8.2 Image
on:
push:
branches:
- master
jobs:
build:
name: Build and push image
runs-on: ubuntu-latest
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Login to Docker Winter Access Git Registry
uses: docker/login-action@v3
with:
registry: git.winteraccess.id
username: aditya.prima
password: ${{ secrets.PATOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.ubuntu
build-args: |
UBUNTU_VERSION=latest
PHP_VERSION=8.2
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:8.2-ubuntu