Skip to content

Commit

Permalink
Issue #3628: define the variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Jul 23, 2024
1 parent 436c7ba commit cf897b5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker_image_builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@ jobs:
branch="${{ github.ref_name }}"
# e.g. 10_0
branch_without_rel="${branch:4}"
mixed_case_repository="${{ github.repository }}"
lowercased_repository="${mixed_case_repository,,}"
docker_tag="devel-$branch_without_rel"
build_date=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
(
echo "otobo_branch=$branch_without_rel"
echo "otobo_docker_tag=$docker_tag"
echo "otobo_ref=$lowercased_repository:$docker_tag"
echo "otobo_build_date=$build_date"
echo "otobo_docker_tag=devel-$branch_without_rel"
echo "otobo_commit=${{ github.sha }}"
) >> $GITHUB_ENV
Expand Down

0 comments on commit cf897b5

Please sign in to comment.