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

161 lines
3.6 KiB
YAML

name: EpicMorg Atlassian Bitbucket 06 Images
on:
workflow_dispatch:
jobs:
build-images:
name: Atlassian Bitbucket ${{ matrix.version }} Image
runs-on: [ ubuntu-24.04 ]
strategy:
matrix:
version: [
'6.0.0',
'6.0.1',
'6.0.2',
'6.0.3',
'6.0.4',
'6.0.5',
'6.0.6',
'6.0.7',
'6.0.9',
'6.0.10',
'6.0.11',
'6.1.0',
'6.1.1',
'6.1.2',
'6.1.3',
'6.1.4',
'6.1.5',
'6.1.6',
'6.1.7',
'6.1.8',
'6.1.9',
'6.2.0',
'6.2.1',
'6.2.2',
'6.2.3',
'6.2.4',
'6.2.5',
'6.2.6',
'6.2.7',
'6.3.0',
'6.3.1',
'6.3.2',
'6.3.3',
'6.3.4',
'6.3.5',
'6.3.6',
'6.4.0',
'6.4.1',
'6.4.2',
'6.4.3',
'6.4.4',
'6.5.1',
'6.5.2',
'6.5.3',
'6.6.0',
'6.6.1',
'6.6.2',
'6.6.3',
'6.6.4',
'6.7.0',
'6.7.1',
'6.7.2',
'6.7.3',
'6.7.4',
'6.7.5',
'6.8.0',
'6.8.1',
'6.8.2',
'6.8.3',
'6.8.4',
'6.9.0',
'6.9.1',
'6.9.2',
'6.9.3',
'6.10.0',
'6.10.1',
'6.10.2',
'6.10.3',
'6.10.4',
'6.10.5',
'6.10.7',
'6.10.8',
'6.10.9',
'6.10.10',
'6.10.11',
'6.10.12',
'6.10.13',
'6.10.14',
'6.10.15',
'6.10.16',
'6.10.17',
]
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/6/${{ 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