docker-scripts/.github/workflows/epicmorg.ecosystem.images.atlassian.confluence.05.yml
2025-04-27 19:25:01 +03:00

153 lines
3.5 KiB
YAML

name: EpicMorg Atlassian Confluence 05 Images
on:
workflow_dispatch:
jobs:
build-images:
name: Atlassian Confluence ${{ matrix.version }} Image
runs-on: [ ubuntu-24.04 ]
strategy:
matrix:
version: [
'5.0',
'5.0.1',
'5.0.2',
'5.0.3',
'5.1',
'5.10.0',
'5.10.1',
'5.10.2',
'5.10.3',
'5.10.4',
'5.10.6',
'5.10.7',
'5.10.8',
'5.10.9',
'5.1.1',
'5.1.2',
'5.1.3',
'5.1.4',
'5.1.5',
'5.2.3',
'5.2.5',
'5.3',
'5.3.1',
'5.3.4',
'5.4',
'5.4.1',
'5.4.2',
'5.4.3',
'5.4.4',
'5.5',
'5.5.1',
'5.5.2',
'5.5.3',
'5.5.6',
'5.5-OD-31-009',
'5.6.1',
'5.6.3',
'5.6.4',
'5.6.5',
'5.6.6',
'5.7',
'5.7.1',
'5.7.3',
'5.7.4',
'5.7.5',
'5.7.6',
'5.8.10',
'5.8.13',
'5.8.14',
'5.8.15',
'5.8.16',
'5.8.17',
'5.8.18',
'5.8.2',
'5.8.4',
'5.8.5',
'5.8.6',
'5.8.8',
'5.8.9',
'5.9.1',
'5.9.10',
'5.9.11',
'5.9.12',
'5.9.14',
'5.9.1-beta11',
'5.9.2',
'5.9.3',
'5.9.4',
'5.9.5',
'5.9.6',
'5.9.7',
'5.9.8',
'5.9.9',
]
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 Atlassian confluence ${{ matrix.version }} Image:"
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: cd linux/ecosystem/atlassian/confluence/5/${{ matrix.version }} && pwd && make build && make deploy
##################################################################################
- name: Cleanup
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: make clean