diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 5584467..631cd69 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -26,7 +26,7 @@ jobs: - name: Build and push uses: docker/build-push-action@v5 with: - push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + push: ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/master' }} tags: ghcr.io/${{github.repository_owner}}/ledgersmb_circleci-perl:${{ matrix.version }} build-args: | perl=${{ matrix.version }}