MediumHands-on taskGitHub Actions and GitLab CI
Write a GitHub Actions workflow that tests a project on push, builds a Docker image and pushes it to a registry only from main.
This answer is part of Pro
66 of 758 DevOps / SRE answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousA GitHub Actions workflow runs on every push and burns minutes. How do you reduce it?Next What is the difference between an IAM user, group, role and policy?