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

Adding github actions file to build and push docker image to docker hub / ECR #1013

Open
wants to merge 1 commit into
base: mainline
Choose a base branch
from

Conversation

adityabharadwaj198
Copy link
Member

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

  • Refactoring

  • What is the current behavior? (You can also link to an open issue here)
    Currently the same github action exists in the open_source_CI repo (https://github.com/marqo-ai/open_source_CI/blob/main/.github/workflows/build_push_img.yml). We want to move it here.

  • What is the new behavior (if this is a feature change)?
    Behavior remains the same - the action can now be invoked from main Marqo repo

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    No

  • Have unit tests been run against this PR? (Has there also been any additional testing?)
    No

  • Related Python client changes (link commit/PR here)
    NA

  • Related documentation changes (link commit/PR here)
    NA

  • Other information:

  • Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added / updated (for bug fixes / features)

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_EC2_GH_RUNNER_ACCESS_KEY_ID }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the AWS account? OpenSource or S2Search Core?

required: false
default: 'mainline'
push_to:
description: 'image destination. Options: "ECR", "DockerHub"'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make them drop down options?

Copy link
Member Author

@adityabharadwaj198 adityabharadwaj198 Oct 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good suggestion, Sure!

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.

2 participants