Fixed handling of Docker image tags for release builds. (#10615)

This commit is contained in:
Austin S. Hemmelgarn 2021-02-08 11:10:47 -05:00 committed by GitHub
parent 9ba79d3a1a
commit 237ea440eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -17,7 +17,7 @@ on:
inputs:
version:
name: Version Tag
default: latest
default: nightly
required: true
jobs:
docker-build:

View File

@ -353,7 +353,9 @@ jobs:
after_failure: post_message "TRAVIS_MESSAGE" "<!here> Draft release submission failed"
- name: Trigger Docker image build and publish
script: .travis/trigger_docker_build.sh "${GITHUB_TOKEN}" "${BUILD_VERSION}"
script:
- git checkout "${TRAVIS_BRANCH}" && export BUILD_VERSION="$(cat packaging/version | cut -d'-' -f1)"
- .travis/trigger_docker_build.sh "${GITHUB_TOKEN}" "${BUILD_VERSION}"
after_failure: post_message "TRAVIS_MESSAGE" "<!here> Failed to trigger docker build during release" "${NOTIF_CHANNEL}"
- stage: Trigger deb and rpm package build (release)