Update nightly_build.yml

This commit is contained in:
Alexey Pustovalov 2020-09-09 02:27:18 +03:00 committed by GitHub
parent 7ff48e3246
commit 6855a7323b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
ref: trunk
ref: "refs/heads/trunk"
- name: Install buildx
env:
@ -93,9 +93,11 @@ jobs:
TAGS_ARRAY=()
IMAGE_NAME="${{ env.DOCKER_REPOSITORY }}/zabbix-${{ matrix.build }}"
GIT_BRANCH="${{ github.ref }}"
GIT_BRANCH="refs/heads/trunk"
GIT_BRANCH=${GIT_BRANCH:11}
cat agent/alpine/Dockerfile | grep VERS
echo "::debug::Branch - ${GIT_BRANCH}"
if [ "${GIT_BRANCH}" == "trunk" ]; then