This repository has been archived by the owner on Nov 27, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cd: build/push images Push built artifacts to quay.io for further distribution, either for testing or use in production. Containers are tagged under the following naming convention: - Release artifacts are tagged with the output of `git describe --always`. The most-recently-pushed container will be tagged with `latest`. - Testing artifacts are tagged as `pr-${PR_NUMBER}-${COMMIT}`, where $PR_NUMBER is the pull request number, and $COMMIT is the output of `git describe --always` on the latest commit. This naming convention distinguishes testing artifacts from release artifacts. Signed-off-by: Andy Sadler <ansadler@redhat.com> * Update .github/workflows/push.yaml Co-authored-by: Francesco Ilario <filario@redhat.com> Signed-off-by: Andy Sadler <ansadler@redhat.com> * cd: use commit hash instead of git-describe for tags This makes image tags more predictable and will let us pull pre-built images in prow. Signed-off-by: Andy Sadler <ansadler@redhat.com> * Fix errors caught in review Fix three errors: - we should unconditionally use $GITHUB_SHA for fetching commit SHAs, rather than from the pull_request event. - remove an outdated comment referring to ghcr.io; we don't push there. - `docker push -a` takes an untagged image name, so we should leave them off. Signed-off-by: Andy Sadler <ansadler@redhat.com> --------- Signed-off-by: Andy Sadler <ansadler@redhat.com> Co-authored-by: Francesco Ilario <filario@redhat.com>
- Loading branch information