Update CI.yml

This commit is contained in:
Alexey Pustovalov 2020-09-08 20:42:06 +03:00 committed by GitHub
parent c4bd6cefe7
commit a86c08b55b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,10 +6,10 @@ on:
- published - published
push: push:
branches: branches:
- 3.0 - '3.0'
- 4.0 - '4.0'
- 5.0 - '5.0'
- trunk - 'trunk'
paths-ignore: paths-ignore:
- '.env*' - '.env*'
- 'docker-compose*.yaml' - 'docker-compose*.yaml'
@ -25,7 +25,6 @@ jobs:
env: env:
LATEST_BRANCH: "${{ github.event.repository.default_branch }}" LATEST_BRANCH: "${{ github.event.repository.default_branch }}"
DOCKER_REPOSITORY: "zabbix" DOCKER_REPOSITORY: "zabbix"
PUSH_IMAGES: "false"
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -201,7 +200,7 @@ jobs:
fi fi
docker buildx build --cache-from "type=local,src=/tmp/.buildx-cache" \ docker buildx build --cache-from "type=local,src=/tmp/.buildx-cache" \
--output "type=image,push=${{ env.PUSH_IMAGES }}" \ --output "type=image,push=${{ secrets.AUTO_PUSH_IMAGES }}" \
${BUILDX_ARGS} ${BUILDX_ARGS}
- name: Inspect images - name: Inspect images