Skip to content

CI: Only skip pushing OCI images, not the whole building workflow #214

@amotl

Description

@amotl

Problem

Skipping the whole OCI building workflow here has the consequence that we can't compare build times on patches like GH-211.

oci:
needs: build_and_test
runs-on: ubuntu-latest
if: ${{ ! (startsWith(github.actor, 'dependabot') || github.event.pull_request.head.repo.fork ) }}

Solution

On the "Build and push image" step, use the push: true attribute to reflect if just the image pushing step should be skipped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions