Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 17 additions & 7 deletions .github/workflows/docker_test_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,26 @@ name: Build docker images
description: set latest tag for resulting multiarch manifest
required: false
type: boolean
default: false
default: false
secrets:
secret_envs:
description: if given, it's passed to the environments
required: false
AWS_SECRET_ACCESS_KEY:
description: the access key to the aws param store.
required: true
AWS_ACCESS_KEY_ID:
description: the access key id to the aws param store.
required: true

jobs:
DockerBuildAarch64:
runs-on: [self-hosted, altinity-on-demand, altinity-type-cax41, altinity-in-hel1, altinity-image-arm-app-docker-ce]
runs-on: [altinity-on-demand, altinity-type-cax41, altinity-image-arm-snapshot-22.04-arm, altinity-startup-snapshot, altinity-setup-none]
if: |
!failure() && !cancelled() && toJson(fromJson(inputs.data).docker_data.missing_aarch64) != '[]'
steps:
- name: Check out repository code
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
ref: ${{ fromJson(inputs.data).git_ref }}
- name: Build images
Expand All @@ -29,12 +39,12 @@ jobs:
--image-tags '${{ toJson(fromJson(inputs.data).docker_data.images) }}' \
--missing-images '${{ toJson(fromJson(inputs.data).docker_data.missing_aarch64) }}'
DockerBuildAmd64:
runs-on: [self-hosted, style-checker]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-image-x86-snapshot-22.04-amd, altinity-startup-snapshot, altinity-setup-none]
if: |
!failure() && !cancelled() && toJson(fromJson(inputs.data).docker_data.missing_amd64) != '[]'
steps:
- name: Check out repository code
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
ref: ${{ fromJson(inputs.data).git_ref }}
- name: Build images
Expand All @@ -45,12 +55,12 @@ jobs:
--missing-images '${{ toJson(fromJson(inputs.data).docker_data.missing_amd64) }}'
DockerMultiArchManifest:
needs: [DockerBuildAmd64, DockerBuildAarch64]
runs-on: [self-hosted, style-checker]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-image-x86-snapshot-22.04-amd, altinity-startup-snapshot, altinity-setup-none]
if: |
!failure() && !cancelled() && (toJson(fromJson(inputs.data).docker_data.missing_multi) != '[]' || inputs.set_latest)
steps:
- name: Check out repository code
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
ref: ${{ fromJson(inputs.data).git_ref }}
- name: Build images
Expand Down
Loading
Loading