Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docker] Add GitHub Action for building and publishing Docker images to GHCR #1264

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

sushantmane
Copy link
Contributor

@sushantmane sushantmane commented Oct 26, 2024

Add GitHub Action for building and publishing Docker images

  • Add a GitHub Action for manual triggering to build Docker images from
    specified Git tags.
    • The workflow checks out the repository, validates the tag, builds images
      using a specified script, and pushes them to the GitHub Container Registry.
      Verification steps confirm successful image creation and include metadata
      annotations.
  • Upgrade GitHub Actions dependencies:
    • actions/upload-artifact from v3 to v4. - actions/setup-java from v3 to v4.
    • Replaced gradle/gradle-build-action@v2 with gradle/actions/setup-gradle@v3.
    • Upgraded gradle/wrapper-validation-action@v1 to
      gradle/actions/wrapper-validation@v3.
  • Upload unit test artifacts for each JDK in a separate file.

How was this PR tested?

GitHub actions with manual trigger
Sample run and output: https://github.com/sushantmane/venice/actions/runs/11531628776

image

image

Does this PR introduce any user-facing changes?

  • No. You can skip the rest of this section.
  • Yes. Make sure to explain your proposed changes and call out the behavior change.

@sushantmane sushantmane changed the title Add GitHub Action for building and publishing Docker images [docker] Add GitHub Action for building and publishing Docker images Oct 26, 2024
@sushantmane sushantmane changed the title [docker] Add GitHub Action for building and publishing Docker images [docker] Add GitHub Action for building and publishing Docker images to GHCR Oct 26, 2024
@sushantmane sushantmane enabled auto-merge (squash) October 28, 2024 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant