Rebuild images
Build and Push Ubuntu Image / Build and push image (push) Successful in 6m53s Details
Build and Push Alpine Image / Build and push image (push) Successful in 2m40s Details

This commit is contained in:
Aditya Prima 2024-03-24 06:59:53 +07:00
parent 68812fe4a6
commit 49c7b14aba
3 changed files with 0 additions and 243 deletions

View File

@ -1,117 +0,0 @@
name: Build and Push Alpine 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: docker.io
username: aprimediet
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push 5.6 Images
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.alpine
build-args: |
PHP_VERSION=5.6
REGISTRY_URL=aprimediet
push: true
tags: |
aprimediet/php-fpm:5.6
aprimediet/php-fpm:5.6-alpine
- name: Build and push 7.2 Images
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.alpine
build-args: |
PHP_VERSION=7.2
REGISTRY_URL=aprimediet
push: true
tags: |
aprimediet/php-fpm:7.2
aprimediet/php-fpm:7.2-alpine
- name: Build and push 7.3 Images
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.alpine
build-args: |
PHP_VERSION=7.3
REGISTRY_URL=aprimediet
push: true
tags: |
aprimediet/php-fpm:7.3
aprimediet/php-fpm:7.3-alpine
- name: Build and push 7.4 Images
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.alpine
build-args: |
PHP_VERSION=7.4
REGISTRY_URL=aprimediet
push: true
tags: |
aprimediet/php-fpm:7.4
aprimediet/php-fpm:7.4-alpine
- name: Build and push 8.0 Images
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.alpine
build-args: |
PHP_VERSION=8.0
REGISTRY_URL=aprimediet
push: true
tags: |
aprimediet/php-fpm:8.0
aprimediet/php-fpm:8.0-alpine
- name: Build and push 8.1 Images
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.alpine
build-args: |
PHP_VERSION=8.1
REGISTRY_URL=aprimediet
push: true
tags: |
aprimediet/php-fpm:8.1
aprimediet/php-fpm:8.1-alpine
- name: Build and push 8.2 Images
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.alpine
build-args: |
PHP_VERSION=8.2
REGISTRY_URL=aprimediet
push: true
tags: |
aprimediet/php-fpm:8.2
aprimediet/php-fpm:8.2-alpine
- name: Build and push 8.3 Images
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.alpine
build-args: |
PHP_VERSION=8.3
REGISTRY_URL=aprimediet
push: true
tags: |
aprimediet/php-fpm:8.3-alpine
aprimediet/php-fpm:latest-alpine

View File

@ -29,7 +29,6 @@ jobs:
ALPINE_VERSION=3.5
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:5.6
git.winteraccess.id/${{ gitea.repository }}:5.6-alpine
- name: Build and push 7.2 Images
uses: docker/build-push-action@v5
@ -41,7 +40,6 @@ jobs:
ALPINE_VERSION=3.9
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:7.2
git.winteraccess.id/${{ gitea.repository }}:7.2-alpine
- name: Build and push 7.3 Images
uses: docker/build-push-action@v5
@ -53,7 +51,6 @@ jobs:
ALPINE_VERSION=3.10
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:7.3
git.winteraccess.id/${{ gitea.repository }}:7.3-alpine
- name: Build and push 7.4 Images
uses: docker/build-push-action@v5
@ -65,7 +62,6 @@ jobs:
ALPINE_VERSION=3.13
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:7.4
git.winteraccess.id/${{ gitea.repository }}:7.4-alpine
- name: Build and push 8.0 Images
uses: docker/build-push-action@v5
@ -77,7 +73,6 @@ jobs:
ALPINE_VERSION=3.16
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:8.0
git.winteraccess.id/${{ gitea.repository }}:8.0-alpine
- name: Build and push 8.1 Images
uses: docker/build-push-action@v5
@ -89,7 +84,6 @@ jobs:
ALPINE_VERSION=3.18
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:8.1
git.winteraccess.id/${{ gitea.repository }}:8.1-alpine
- name: Build and push 8.2 Images
uses: docker/build-push-action@v5
@ -101,7 +95,6 @@ jobs:
ALPINE_VERSION=3.18
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:8.2
git.winteraccess.id/${{ gitea.repository }}:8.2-alpine
- name: Build and push 8.3 Images
uses: docker/build-push-action@v5

View File

@ -1,119 +0,0 @@
name: Build and Push Ubuntu 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: docker.io
username: aprimediet
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push 5.6 Images
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.ubuntu
build-args: |
PHP_VERSION=5.6
REGISTRY_URL=aprimediet
push: true
tags: |
aprimediet/php-fpm:5.6
aprimediet/php-fpm:5.6-ubuntu
- name: Build and push 7.2 Images
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.ubuntu
build-args: |
PHP_VERSION=7.2
REGISTRY_URL=aprimediet
push: true
tags: |
aprimediet/php-fpm:7.2
aprimediet/php-fpm:7.2-ubuntu
- name: Build and push 7.3 Images
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.ubuntu
build-args: |
PHP_VERSION=7.3
REGISTRY_URL=aprimediet
push: true
tags: |
aprimediet/php-fpm:7.3
aprimediet/php-fpm:7.3-ubuntu
- name: Build and push 7.4 Images
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.ubuntu
build-args: |
PHP_VERSION=7.4
REGISTRY_URL=aprimediet
push: true
tags: |
aprimediet/php-fpm:7.4
aprimediet/php-fpm:7.4-ubuntu
- name: Build and push 8.0 Images
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.ubuntu
build-args: |
PHP_VERSION=8.0
REGISTRY_URL=aprimediet
push: true
tags: |
aprimediet/php-fpm:8.0
aprimediet/php-fpm:8.0-ubuntu
- name: Build and push 8.1 Images
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.ubuntu
build-args: |
PHP_VERSION=8.1
REGISTRY_URL=aprimediet
push: true
tags: |
aprimediet/php-fpm:8.1
aprimediet/php-fpm:8.1-ubuntu
- name: Build and push 8.2 Images
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.ubuntu
build-args: |
PHP_VERSION=8.2
REGISTRY_URL=aprimediet
push: true
tags: |
aprimediet/php-fpm:8.2
aprimediet/php-fpm:8.2-ubuntu
- name: Build and push 8.3 Images
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.ubuntu
build-args: |
PHP_VERSION=8.3
REGISTRY_URL=aprimediet
push: true
tags: |
aprimediet/php-fpm:8.3
aprimediet/php-fpm:8.3-ubuntu
aprimediet/php-fpm:latest-ubuntu
aprimediet/php-fpm:latest