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

144 lines
3.3 KiB
YAML

name: EpicMorg Atlassian Bitbucket 04 Images
on:
workflow_dispatch:
jobs:
build-images:
name: Atlassian Bitbucket ${{ matrix.version }} Image
runs-on: [ ubuntu-24.04 ]
strategy:
matrix:
version: [
'4.0.1',
'4.0.2',
'4.0.3',
'4.0.4',
'4.0.6',
'4.0.7',
'4.0.8',
'4.1.0',
'4.1.3',
'4.1.4',
'4.1.6',
'4.2.0',
'4.2.1',
'4.2.2',
'4.2.3',
'4.3.0',
'4.3.1',
'4.3.2',
'4.3.3',
'4.4.0',
'4.4.1',
'4.4.2',
'4.4.4',
'4.5.1',
'4.5.2',
'4.5.3',
'4.6.0',
'4.6.1',
'4.6.2',
'4.6.3',
'4.6.4',
'4.7.1',
'4.7.2',
'4.8.0',
'4.8.1',
'4.8.2',
'4.8.3',
'4.8.4',
'4.8.5',
'4.8.6',
'4.9.0',
'4.9.1',
'4.10.0',
'4.10.1',
'4.10.2',
'4.11.1',
'4.11.2',
'4.12.0',
'4.12.1',
'4.13.0',
'4.13.1',
'4.14.0',
'4.14.1',
'4.14.2',
'4.14.3',
'4.14.4',
'4.14.5',
'4.14.6',
'4.14.7',
'4.14.8',
'4.14.9',
'4.14.10',
'4.14.11',
'4.14.12',
]
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/4/${{ 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