Added workflow for winter registry
Build and Push Alpine PHP Image / Build and push image (push) Successful in 1m7s
Details
Build and Push Alpine PHP Image / Build and push apache image (push) Successful in 1m29s
Details
Build and Push ubi9 PHP Image / Build and push ubi9 image (push) Successful in 9m28s
Details
Build and Push ubi9 PHP Image / Build and push ubi9 image to winter registry (push) Failing after 20s
Details
Build and Push ubi9 PHP Image / Build and push ubi9 apache image (push) Has been skipped
Details
Build and Push ubi9 PHP Image / Build and push ubi9-micro image (push) Has been cancelled
Details
Build and Push Alpine PHP Image / Build and push image (push) Successful in 1m7s
Details
Build and Push Alpine PHP Image / Build and push apache image (push) Successful in 1m29s
Details
Build and Push ubi9 PHP Image / Build and push ubi9 image (push) Successful in 9m28s
Details
Build and Push ubi9 PHP Image / Build and push ubi9 image to winter registry (push) Failing after 20s
Details
Build and Push ubi9 PHP Image / Build and push ubi9 apache image (push) Has been skipped
Details
Build and Push ubi9 PHP Image / Build and push ubi9-micro image (push) Has been cancelled
Details
This commit is contained in:
parent
3a35906671
commit
514dab4eab
|
@ -0,0 +1,344 @@
|
|||
name: Build and Push ubi9 PHP Image
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build and push ubi9 image to winter registry
|
||||
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 Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.winteraccess.id
|
||||
username: aprimediet
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
- name: Build and push 7.4
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=7.4
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:7.4-ubi9
|
||||
- name: Build and push 8.0
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.0
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.0-ubi9
|
||||
- name: Build and push 8.1
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.1
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.1-ubi9
|
||||
- name: Build and push 8.2
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.2
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.2-ubi9
|
||||
- name: Build and push 8.3
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.3
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.3-ubi9
|
||||
- name: Build and push 8.4
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.4
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.4-ubi9
|
||||
git.winteraccess.id/${{ gitea.repository }}:8-ubi9
|
||||
git.winteraccess.id/${{ gitea.repository }}:ubi9
|
||||
build-micro:
|
||||
name: Build and push ubi9-micro image
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build
|
||||
container:
|
||||
image: ghcr.io/catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Login to Docker Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.winteraccess.id
|
||||
username: aprimediet
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
- name: Build and push 7.4
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-micro
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=7.4
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:7.4-ubi9-micro
|
||||
- name: Build and push 8.0
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-micro
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.0
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.0-ubi9-micro
|
||||
- name: Build and push 8.1
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-micro
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.1
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.1-ubi9-micro
|
||||
- name: Build and push 8.2
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-micro
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.2
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.2-ubi9-micro
|
||||
- name: Build and push 8.3
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-micro
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.3
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.3-ubi9-micro
|
||||
- name: Build and push 8.4
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-micro
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.4
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.4-ubi9-micro
|
||||
git.winteraccess.id/${{ gitea.repository }}:8-ubi9-micro
|
||||
git.winteraccess.id/${{ gitea.repository }}:ubi9-micro
|
||||
build-apache:
|
||||
name: Build and push ubi9 apache image
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build
|
||||
container:
|
||||
image: ghcr.io/catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Login to Docker Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.winteraccess.id
|
||||
username: aprimediet
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
- name: Build and push 7.4
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-apache
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=7.4
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:7.4-apache-ubi9
|
||||
git.winteraccess.id/${{ gitea.repository }}:7-apache-ubi9
|
||||
- name: Build and push 8.0
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-apache
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.0
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.0-apache-ubi9
|
||||
- name: Build and push 8.1
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-apache
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.1
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.1-apache-ubi9
|
||||
- name: Build and push 8.2
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-apache
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.2
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.2-apache-ubi9
|
||||
- name: Build and push 8.3
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-apache
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.3
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.3-apache-ubi9
|
||||
- name: Build and push 8.4
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-apache
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.4
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.4-apache-ubi9
|
||||
git.winteraccess.id/${{ gitea.repository }}:8-apache-ubi9
|
||||
git.winteraccess.id/${{ gitea.repository }}:apache-ubi9
|
||||
build-apache-micro:
|
||||
name: Build and push ubi9-micro image
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build
|
||||
- build-micro
|
||||
- build-apache
|
||||
container:
|
||||
image: ghcr.io/catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Login to Docker Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.winteraccess.id
|
||||
username: aprimediet
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
- name: Build and push 7.4
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-micro-apache
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=7.4
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:7.4-apache-ubi9-micro
|
||||
- name: Build and push 8.0
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-micro-apache
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.0
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.0-apache-ubi9-micro
|
||||
- name: Build and push 8.1
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-micro-apache
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.1
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.1-apache-ubi9-micro
|
||||
- name: Build and push 8.2
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-micro-apache
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.2
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.2-apache-ubi9-micro
|
||||
- name: Build and push 8.3
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-micro-apache
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.3
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.3-apache-ubi9-micro
|
||||
- name: Build and push 8.4
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.ubi9-micro-apache
|
||||
build-args: |
|
||||
REGISTRY_URL=git.winteraccess.id/docker
|
||||
PHP_VERSION=8.4
|
||||
push: true
|
||||
tags: |
|
||||
git.winteraccess.id/${{ gitea.repository }}:8.4-apache-ubi9-micro
|
||||
git.winteraccess.id/${{ gitea.repository }}:8-apache-ubi9-micro
|
||||
git.winteraccess.id/${{ gitea.repository }}:apache-ubi9-micro
|
Loading…
Reference in New Issue