The CI jobs for building the containers might be triggered manually. The
event name is `workflow_dispatch` then and the tag update would not be
pushed. That defeats the purpose of running those jobs manually.
with:
file: test/container/${{ matrix.config.dockerfile }}
tags: ghcr.io/${{env.repository_owner}}/${{ matrix.config.tag }}-${{ matrix.architecture.tag }}
- push: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
+ push: ${{ github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
platforms: ${{ matrix.architecture.platform }}
build-args: |
DISTRIBUTION=${{ matrix.config.tag }}
with:
file: test/container/${{ matrix.config.dockerfile }}
tags: ghcr.io/${{env.repository_owner}}/${{ matrix.config.tag }}-${{ matrix.architecture.tag }}
- push: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
+ push: ${{ github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
platforms: ${{ matrix.architecture.platform }}
build-args: |
DISTRIBUTION=${{ matrix.config.tag }}