diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d971c71..20ebad0f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,4 +45,4 @@ jobs: build-args: | BASE_IMAGE=koide3/gtsam_docker:${{ matrix.DISTRO.ubuntu }} context: . - push: ${{ github.event_name != 'push' }} + push: ${{ github.event_name == 'push' && contains(${{ matrix.DISTRO.suffix }}, 'gcc') }}