mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-29 11:13:08 +01:00
Updated build script
This commit is contained in:
parent
44b4bc16de
commit
dd1e4dd5d8
2
.github/workflows/images_build_windows.yml
vendored
2
.github/workflows/images_build_windows.yml
vendored
@ -96,7 +96,7 @@ jobs:
|
|||||||
- name: Build ${{ env.BASE_BUILD_NAME }}/${{ matrix.build }}-${{ matrix.os }} and push
|
- name: Build ${{ env.BASE_BUILD_NAME }}/${{ matrix.build }}-${{ matrix.os }} and push
|
||||||
id: docker_build
|
id: docker_build
|
||||||
run: |
|
run: |
|
||||||
$tags=$(echo "steps.meta.outputs.tags" | jq --raw-input . | jq --slurp . | jq -r '. | map("""--tag=""" + .) | join(""" """)')
|
$tags=$(echo "${{ steps.meta.outputs.tags}}" | jq --raw-input . | jq --slurp . | jq -r '. | map("""--tag=""" + .) | join(""" """)')
|
||||||
echo $tags
|
echo $tags
|
||||||
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
|
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
|
||||||
docker build --file=.\Dockerfiles\${{ env.BASE_BUILD_NAME }}\windows\Dockerfile.${{ matrix.build }} $tags .\Dockerfiles\${{ env.BASE_BUILD_NAME }}\windows\
|
docker build --file=.\Dockerfiles\${{ env.BASE_BUILD_NAME }}\windows\Dockerfile.${{ matrix.build }} $tags .\Dockerfiles\${{ env.BASE_BUILD_NAME }}\windows\
|
||||||
|
Loading…
Reference in New Issue
Block a user