mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-16 03:20:48 +01:00
Preparation for multistage builds
This commit is contained in:
parent
eb293c1ebf
commit
fb845599d4
11
.github/workflows/build_images.yml
vendored
11
.github/workflows/build_images.yml
vendored
@ -155,14 +155,12 @@ jobs:
|
||||
- name: Image digest
|
||||
run: |
|
||||
echo ${{ steps.docker_build.outputs.digest }}
|
||||
pwd
|
||||
mkdir base_build/
|
||||
echo "${{ steps.docker_build.outputs.digest }}" > base_build/${{ matrix.build }}_${{ matrix.os }}
|
||||
echo "${{ steps.docker_build.outputs.digest }}" > ${{ matrix.build }}_${{ matrix.os }}
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ matrix.build }}_${{ matrix.os }}
|
||||
path: base_build/${{ matrix.build }}_${{ matrix.os }}
|
||||
path: ${{ matrix.build }}_${{ matrix.os }}
|
||||
if-no-files-found: error
|
||||
|
||||
build_base_database:
|
||||
@ -279,8 +277,7 @@ jobs:
|
||||
|
||||
- uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: ${{ matrix.build }}_${{ matrix.os }}
|
||||
path: base_build
|
||||
name: base-build_${{ matrix.os }}
|
||||
|
||||
- name: Display structure of downloaded files
|
||||
run: ls -R
|
||||
@ -300,7 +297,7 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
BASE_TAG=$(cat base_build/${{ matrix.build }}_${{ matrix.os }})
|
||||
BASE_TAG=$(cat ${{ matrix.build }}_${{ matrix.os }})
|
||||
|
||||
echo ::set-output name=image_tag_versions::${TAGS}
|
||||
echo ::set-output name=image_name::${IMAGE_NAME}
|
||||
|
Loading…
Reference in New Issue
Block a user