Open oguzkaganozt opened 1 month ago
We are using docker-build-and-push-main
and docker-build-and-push-main-self-hosted
for not only main branch but also the other branches.
So are docker-build
and docker-build-self-hosted
better?
@oguzkaganozt I think this PR is important for the workflow refactoring, so I took over and made the necessary modifications.
@xmfcx I've updated the schedule to every day and the README badge. Note that there is no docker-build
workflow until this PR is merged, so no badge has been generated.
Please review again.
But now the question is, do we want to update the base image and push it to registry every day?
I think there was a reason to do this twice a month. @mitsudome-r @youtalk
Oh, I finally understood. The difference between build-main
and docker-build-and-push-main
is allow-push
option.
That's why it might not be suitable to run docker-build-and-push-main
every day.
@xmfcx I think so.
@xmfcx @youtalk @mitsudome-r
Updated the PR so that; we are now using docker-build
and docker-build-self-hosted
both for daily builds and pushing images to registry twice a month. Please review again.
Description
To simplify CI-CD pipeline ,
build-main
andbuild-main-self-hosted
can be deleted because they are simply using the same docker build mechanism asdocker-build-main
anddocker-build-main-self-hosted
.Also renaming of:
docker-build-and-push-main
->docker-build-main
docker-build-and-push-main-self-hosted
->docker-build-main-self-hosted
can be done since docker builds does not pushes every time into the registry the naming implies false positive.
Tests performed
Not applicable.
Effects on system behavior
Not applicable.
Interface changes
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.