From 761f9a315515d950024105dd062fc3dab80a0a7a Mon Sep 17 00:00:00 2001 From: Petru Conduraru Date: Mon, 20 Jul 2026 00:43:32 +0300 Subject: [PATCH] ci: push the latest tag when publishing the docker image The deliver job only tagged the image with the git ref name and conditionally 22.04, so aecgeeks/ifcopenshell:latest was never updated and still served a 20.04 image with a Python mismatch, the failure reported in issue 6488 and confirmed by aothms ("somehow the image is not pushed to the latest tag"). Docker Hub shows latest last pushed 2024-06-08 while v0.8.0 and 22.04 were pushed 2025-04-04 by the same workflow run. Also guard the conditional with an empty-string alternative so a false condition cannot render the literal string "false" into the tag list. Generated with the assistance of an AI coding tool. --- .github/workflows/ci-ifcopenshell-docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-ifcopenshell-docker.yml b/.github/workflows/ci-ifcopenshell-docker.yml index 94a63d2dbb..4ccfa546b8 100644 --- a/.github/workflows/ci-ifcopenshell-docker.yml +++ b/.github/workflows/ci-ifcopenshell-docker.yml @@ -116,6 +116,6 @@ jobs: repository: aecgeeks/ifcopenshell # Since the dispatch is set to `tag`, `github.ref_name` should evaluate to the pushed tag # On a workflow dispatch, `ref_name` will take on the value from the dispatch payload - tags: aecgeeks/ifcopenshell:${{ github.ref_name }}${{ github.ref_name == github.event.repository.default_branch && ',aecgeeks/ifcopenshell:22.04' }} + tags: aecgeeks/ifcopenshell:${{ github.ref_name }},aecgeeks/ifcopenshell:latest${{ github.ref_name == github.event.repository.default_branch && ',aecgeeks/ifcopenshell:22.04' || '' }} file: ./Dockerfile push: true