What's the equivalent GitLab's extends
keyword in GitHub Actions?
I want to migrate from GitLab to GitHub Actions, but I can't find constructs similar to GitLab's extends
keyword and child pipelines to reuse functionality and refactor workflows.
More concretely, in GitLab I have the following job, which all other jobs extend for them to run inside Docker containers (I don't want to specify the container image for every job):
.common:
tags:
- amd64
image:
name: registry.gitlab.io/build-platform/imported/foundation/pro-bff/build-env:py310