mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-15 11:00:53 +01:00
Preparation for multistage builds
This commit is contained in:
parent
59097eb7dc
commit
43628f0e2f
13
.github/workflows/build_images.yml
vendored
13
.github/workflows/build_images.yml
vendored
@ -21,6 +21,7 @@ defaults:
|
||||
jobs:
|
||||
build_base:
|
||||
timeout-minutes: 70
|
||||
name: Build ${{ matrix.build }} base on ${{ matrix.os }}
|
||||
env:
|
||||
LATEST_BRANCH: "${{ github.event.repository.default_branch }}"
|
||||
DOCKER_REPOSITORY: "zabbix"
|
||||
@ -152,7 +153,9 @@ jobs:
|
||||
tags: ${{ steps.prepare_tags.outputs.image_tag_versions }}
|
||||
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
||||
run: |
|
||||
echo ${{ steps.docker_build.outputs.digest }}
|
||||
echo "${{ steps.docker_build.outputs.digest }}" > /tmp/${{ matrix.build }}_${{ matrix.os }}
|
||||
|
||||
build_base_database:
|
||||
timeout-minutes: 70
|
||||
@ -165,9 +168,9 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
build:
|
||||
- build-base-mysql
|
||||
- build-base-pgsql
|
||||
- build-base-sqlite3
|
||||
- base-mysql
|
||||
- base-pgsql
|
||||
- base-sqlite3
|
||||
os:
|
||||
- alpine
|
||||
- ubuntu
|
||||
@ -281,6 +284,8 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cat /tmp/build-base_${{ matrix.os }}
|
||||
|
||||
echo ::set-output name=image_tag_versions::${TAGS}
|
||||
echo ::set-output name=image_name::${IMAGE_NAME}
|
||||
echo ::set-output name=base_tag::${BASE_TAG}
|
||||
|
Loading…
Reference in New Issue
Block a user