mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-07-23 05:31:39 +03:00
214 lines
4.7 KiB
YAML
214 lines
4.7 KiB
YAML
name: EpicMorg Atlassian Bitbucket 07 Images
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
|
|
build-images:
|
|
name: Atlassian Bitbucket ${{ matrix.version }} Image
|
|
runs-on: [ ubuntu-24.04 ]
|
|
strategy:
|
|
matrix:
|
|
version: [
|
|
'7.0.0',
|
|
'7.0.1',
|
|
'7.0.2',
|
|
'7.0.3',
|
|
'7.0.4',
|
|
'7.0.5',
|
|
'7.1.0',
|
|
'7.1.1',
|
|
'7.1.2',
|
|
'7.1.3',
|
|
'7.1.4',
|
|
'7.2.0',
|
|
'7.2.1',
|
|
'7.2.2',
|
|
'7.2.3',
|
|
'7.2.4',
|
|
'7.2.5',
|
|
'7.2.6',
|
|
'7.3.0',
|
|
'7.3.1',
|
|
'7.3.2',
|
|
'7.4.0',
|
|
'7.4.1',
|
|
'7.4.2',
|
|
'7.5.0',
|
|
'7.5.1',
|
|
'7.5.2',
|
|
'7.6.0',
|
|
'7.6.1',
|
|
'7.6.2',
|
|
'7.6.3',
|
|
'7.6.4',
|
|
'7.6.5',
|
|
'7.6.6',
|
|
'7.6.7',
|
|
'7.6.8',
|
|
'7.6.9',
|
|
'7.6.10',
|
|
'7.6.11',
|
|
'7.6.12',
|
|
'7.6.13',
|
|
'7.6.14',
|
|
'7.6.15',
|
|
'7.6.16',
|
|
'7.6.17',
|
|
'7.6.19',
|
|
'7.6.20',
|
|
'7.6.21',
|
|
'7.6.22',
|
|
'7.6.23',
|
|
'7.7.0',
|
|
'7.7.1',
|
|
'7.8.0',
|
|
'7.8.1',
|
|
'7.9.0',
|
|
'7.9.1',
|
|
'7.10.0',
|
|
'7.10.1',
|
|
'7.11.1',
|
|
'7.11.2',
|
|
'7.12.0',
|
|
'7.12.1',
|
|
'7.13.0',
|
|
'7.13.1',
|
|
'7.14.0',
|
|
'7.14.1',
|
|
'7.14.2',
|
|
'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.17.0',
|
|
'7.17.1',
|
|
'7.17.2',
|
|
'7.17.3',
|
|
'7.17.4',
|
|
'7.17.5',
|
|
'7.17.6',
|
|
'7.17.7',
|
|
'7.17.8',
|
|
'7.17.9',
|
|
'7.17.10',
|
|
'7.17.11',
|
|
'7.17.12',
|
|
'7.17.13',
|
|
'7.17.14',
|
|
'7.17.15',
|
|
'7.17.16',
|
|
'7.17.17',
|
|
'7.17.18',
|
|
'7.17.19',
|
|
'7.17.20',
|
|
'7.17.21',
|
|
'7.18.0',
|
|
'7.18.1',
|
|
'7.18.2',
|
|
'7.18.3',
|
|
'7.18.4',
|
|
'7.19.2',
|
|
'7.19.3',
|
|
'7.19.4',
|
|
'7.19.5',
|
|
'7.20.0',
|
|
'7.20.1',
|
|
'7.20.2',
|
|
'7.20.3',
|
|
'7.21.0',
|
|
'7.21.1',
|
|
'7.21.2',
|
|
'7.21.3',
|
|
'7.21.4',
|
|
'7.21.5',
|
|
'7.21.6',
|
|
'7.21.7',
|
|
'7.21.8',
|
|
'7.21.9',
|
|
'7.21.10',
|
|
'7.21.11',
|
|
'7.21.12',
|
|
'7.21.13',
|
|
'7.21.14',
|
|
'7.21.15',
|
|
'7.21.16',
|
|
'7.21.17',
|
|
'7.21.18',
|
|
'7.21.19',
|
|
'7.21.20',
|
|
'7.21.21',
|
|
'7.21.22',
|
|
'7.21.23',
|
|
]
|
|
|
|
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/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
|