chore: Automate container image building #4
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Build for platform
linux/arm64
andlinux/amd64
.Add tag base on git tags:
edge
- any last buildlatest
- last build base on default branch changesvx.y.z
- build connected to the git tagpr-xxx
- build related to PRBuild images in Dockerhub and Github packages.
For DockerHub it requires secrets: DOCKER_USERNAME and DOCKER_PASSWORD
Tophat
Example of job for my fork push to master branch: https://github.com/miry/rails_app_operator/actions/runs/8868090021/job/24347314572
Example of job for my fork for new tag: https://github.com/miry/rails_app_operator/actions/runs/8868182984/job/24347505933
Results: