readme + nginx gha

This commit is contained in:
STAM 2025-04-28 19:20:59 +03:00
parent 2380ccb125
commit e23dc20979
No known key found for this signature in database
GPG Key ID: 711526C6938897F1
3 changed files with 87 additions and 0 deletions

View File

@ -0,0 +1,85 @@
name: EpicMorg EcoSystem nginx Images
on:
workflow_dispatch:
schedule:
- cron: '2 20 * * 1,3,5'
jobs:
build-nginx-images:
name: Build nginx ${{ matrix.version }}
runs-on: [ ubuntu-24.04 ]
strategy:
matrix:
version: [
'1.26', '1.27', '1.28',
]
steps:
- uses: actions/checkout@v4
with:
clean: true
show-progress: true
submodules: true
- name: Log into docker registry
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
- name: Log into Quay.IO registry
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}"
- name: Check buildah
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: buildah --version
- name: Test Make
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: make
- name: Install requirements.txt
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: make pip
- name: Build and Deploy nginx ${{ matrix.version }} Main Image
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: cd linux/ecosystem/nginx/${{ matrix.version }}/main && pwd && make build && make deploy
- name: Conditional Cleanup
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: make clean

View File

@ -3,6 +3,7 @@
## 2025
* `apr`
* fixed `nginx` iamges, added new `1.28` version.
* added `fisheye` images to `gha`.
* added `crucible` images to `gha`.
* added `GitHub Actions` to `Bitbucket` images.

View File

@ -70,6 +70,7 @@ A collection of docker images for production use. This repo contains 2 types of
* `epicmorg/php` - image, migrated to `epicmorg/debian:bookworm-php<version>`. Look at `linux/ecosystem/epicmorg/debian/12-bookworm/php`.
* `epicmorg/python` - image, migrated to `epicmorg/debian:bookworm-python<version>`. Look at `linux/ecosystem/epicmorg/debian/12-bookworm/python`.
* `epicmorg/apache2:latest` - ONLY `latest` tag.
* `epicmorg/nginx:<version>.<build>` - deprecated tags with build-version. at now - all versions are only `<major>.<minor>`. Example: `1.27.1` -> `1.27`.
* `epicmorg/torrust-index` - deprecated, deleted as abadoned. Sorry.
* `epicmorg/torrust-tracker` - deprecated, deleted as abadoned. Sorry.
* `epicmorg/staytus` - deprecated, deleted as abadoned. Sorry.