mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-07-23 05:31:39 +03:00
115 lines
2.8 KiB
YAML
115 lines
2.8 KiB
YAML
name: EpicMorg Atlassian Bitbucket 02 Images
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
|
|
build-images:
|
|
name: Atlassian Bitbucket ${{ matrix.version }} Image
|
|
runs-on: [ ubuntu-24.04 ]
|
|
strategy:
|
|
matrix:
|
|
version: [
|
|
'2.0.3',
|
|
'2.1.2',
|
|
'2.2.0',
|
|
'2.3.1',
|
|
'2.4.2',
|
|
'2.5.4',
|
|
'2.6.5',
|
|
'2.7.6',
|
|
'2.8.4',
|
|
'2.8.5',
|
|
'2.9.1',
|
|
'2.9.2',
|
|
'2.9.3',
|
|
'2.9.4',
|
|
'2.9.5',
|
|
'2.10.0',
|
|
'2.10.1',
|
|
'2.10.2',
|
|
'2.10.3',
|
|
'2.10.4',
|
|
'2.10.5',
|
|
'2.11.3',
|
|
'2.11.4',
|
|
'2.11.5',
|
|
'2.11.6',
|
|
'2.11.7',
|
|
'2.11.8',
|
|
'2.11.9',
|
|
'2.12.0',
|
|
'2.12.1',
|
|
'2.12.2',
|
|
'2.12.3',
|
|
'2.12.4',
|
|
'2.12.5',
|
|
'2.12.6',
|
|
]
|
|
|
|
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/2/${{ 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
|