From 73832c5b1cdeb3f87a3be168a7ae243b3da108ab Mon Sep 17 00:00:00 2001 From: Oksana Shadura Date: Wed, 11 Dec 2024 11:04:36 +0100 Subject: [PATCH] Add latest python also for coffea 0.7 --- .github/workflows/gh-ci.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index 710cda0..23c3137 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -14,7 +14,10 @@ env: GITHUB_REF: ${{ github.ref }} # Update each time there is added latest python: it will be used for `latest` tag python_latest: "3.11" + python_latestv0: "3.10" + # For coffea 2024.x.x we have conda release, github CI bot will detect new version and open PR with changes release: "2024.11.0" + # For coffea 0.7.23 we dont have conda release, please update it manually releasev0: "0.7.23" jobs: @@ -99,13 +102,13 @@ jobs: fi tags=${image}:latest-py${python},$tag # latest tag - if [ ${python} == ${python_latest} ]; then + if [ ${python} == ${python_latest} ] || [ "$python" == ${python_latestv0} ]; then tags=${image}:latest,$tags fi else tag="${image}:dev-py${python}" tags=$tag - if [ "$python" == ${python_latest} ]; then + if [ "$python" == ${python_latest} ] || [ "$python" == ${python_latestv0} ]; then tags=${image}:dev,$tags fi fi