docker-scripts/.github/workflows/epicmorg.ecosystem.images.atlassian.bitbucket.08.yml
2025-04-28 01:01:05 +03:00

222 lines
4.8 KiB
YAML

name: EpicMorg Atlassian Bitbucket 08 Images
on:
workflow_dispatch:
jobs:
build-images:
name: Atlassian Bitbucket ${{ matrix.version }} Image
runs-on: [ ubuntu-24.04 ]
strategy:
matrix:
version: [
'8.0.0',
'8.0.1',
'8.0.2',
'8.0.3',
'8.0.4',
'8.0.5',
'8.1.0',
'8.1.1',
'8.1.2',
'8.1.3',
'8.1.4',
'8.1.5',
'8.2.0',
'8.2.1',
'8.2.2',
'8.2.3',
'8.2.4',
'8.3.0',
'8.3.1',
'8.3.2',
'8.3.3',
'8.3.4',
'8.4.0',
'8.4.1',
'8.4.2',
'8.4.3',
'8.4.4',
'8.5.0',
'8.5.1',
'8.5.2',
'8.5.3',
'8.5.4',
'8.6.0',
'8.6.1',
'8.6.2',
'8.6.3',
'8.6.4',
'8.7.0',
'8.7.1',
'8.7.2',
'8.7.3',
'8.7.4',
'8.7.5',
'8.8.0',
'8.8.1',
'8.8.2',
'8.8.3',
'8.8.4',
'8.8.5',
'8.8.6',
'8.8.7',
'8.9.0',
'8.9.1',
'8.9.2',
'8.9.3',
'8.9.4',
'8.9.5',
'8.9.6',
'8.9.7',
'8.9.8',
'8.9.9',
'8.9.10',
'8.9.11',
'8.9.12',
'8.9.13',
'8.9.14',
'8.9.15',
'8.9.16',
'8.9.17',
'8.9.18',
'8.9.19',
'8.9.20',
'8.9.21',
'8.9.22',
'8.10.0',
'8.10.1',
'8.10.2',
'8.10.3',
'8.10.4',
'8.10.5',
'8.10.6',
'8.11.0',
'8.11.1',
'8.11.2',
'8.11.3',
'8.11.4',
'8.11.5',
'8.11.6',
'8.12.0',
'8.12.1',
'8.12.2',
'8.12.3',
'8.12.4',
'8.12.5',
'8.12.6',
'8.13.0',
'8.13.1',
'8.13.2',
'8.13.3',
'8.13.4',
'8.13.5',
'8.13.6',
'8.14.0',
'8.14.1',
'8.14.2',
'8.14.3',
'8.14.4',
'8.14.5',
'8.14.6',
'8.15.0',
'8.15.1',
'8.15.2',
'8.15.3',
'8.15.4',
'8.15.5',
'8.16.0',
'8.16.1',
'8.16.2',
'8.16.3',
'8.16.4',
'8.17.0',
'8.17.1',
'8.17.2',
'8.18.0',
'8.18.1',
'8.19.0',
'8.19.1',
'8.19.2',
'8.19.3',
'8.19.4',
'8.19.5',
'8.19.6',
'8.19.7',
'8.19.8',
'8.19.9',
'8.19.10',
'8.19.11',
'8.19.12',
'8.19.13',
'8.19.14',
'8.19.15',
'8.19.16',
]
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 Bitbucket ${{ matrix.version }} Image:"
uses: nick-fields/retry@v3
with:
retry_wait_seconds: 45
timeout_minutes: 600
max_attempts: 15
command: cd linux/ecosystem/atlassian/bitbucket/8/${{ 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