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

223 lines
4.8 KiB
YAML

name: EpicMorg Atlassian Confluence 07 Images
on:
workflow_dispatch:
jobs:
build-images:
name: Atlassian Confluence ${{ matrix.version }} Image
runs-on: [ ubuntu-24.04 ]
strategy:
matrix:
version: [
'7.0.1',
'7.0.2',
'7.0.3',
'7.0.4',
'7.0.5',
'7.1.0',
'7.10.0',
'7.10.1',
'7.10.2',
'7.1.1',
'7.11.0',
'7.11.1',
'7.11.2',
'7.11.3',
'7.11.6',
'7.1.2',
'7.12.0',
'7.12.1',
'7.12.2',
'7.12.3',
'7.12.4',
'7.12.5',
'7.13.0',
'7.13.1',
'7.13.11',
'7.13.12',
'7.13.13',
'7.13.14',
'7.13.15',
'7.13.16',
'7.13.17',
'7.13.18',
'7.13.19',
'7.13.2',
'7.13.20',
'7.13.3',
'7.13.4',
'7.13.5',
'7.13.6',
'7.13.7',
'7.13.8',
'7.13.9',
'7.14.0',
'7.14.1',
'7.14.2',
'7.14.3',
'7.14.4',
'7.15.0',
'7.15.1',
'7.15.2',
'7.15.3',
'7.16.0',
'7.16.1',
'7.16.2',
'7.16.3',
'7.16.4',
'7.16.5',
'7.17.0',
'7.17.1',
'7.17.2',
'7.17.3',
'7.17.4',
'7.17.5',
'7.18.0',
'7.18.1',
'7.18.2',
'7.18.3',
'7.19.0',
'7.19.1',
'7.19.10',
'7.19.11',
'7.19.12',
'7.19.14',
'7.19.15',
'7.19.16',
'7.19.17',
'7.19.18',
'7.19.19',
'7.19.2',
'7.19.20',
'7.19.21',
'7.19.22',
'7.19.23',
'7.19.24',
'7.19.25',
'7.19.26',
'7.19.27',
'7.19.28',
'7.19.29',
'7.19.3',
'7.19.30',
'7.19.4',
'7.19.5',
'7.19.6',
'7.19.7',
'7.19.8',
'7.19.9',
'7.2.0',
'7.20.0',
'7.20.1',
'7.20.2',
'7.20.3',
'7.2.1',
'7.2.2',
'7.3.1',
'7.3.2',
'7.3.3',
'7.3.4',
'7.3.5',
'7.4.0',
'7.4.1',
'7.4.10',
'7.4.11',
'7.4.12',
'7.4.13',
'7.4.14',
'7.4.15',
'7.4.16',
'7.4.17',
'7.4.18',
'7.4.3',
'7.4.4',
'7.4.5',
'7.4.6',
'7.4.7',
'7.4.8',
'7.4.9',
'7.5.0',
'7.5.1',
'7.5.2',
'7.6.0',
'7.6.1',
'7.6.2',
'7.6.3',
'7.7.2',
'7.7.3',
'7.7.4',
'7.8.0',
'7.8.1',
'7.8.3',
'7.9.0',
'7.9.1',
'7.9.3',
]
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/7/${{ 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