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

borrow from ottr-docker #96

Merged
merged 1 commit into from
Dec 4, 2024
Merged

borrow from ottr-docker #96

merged 1 commit into from
Dec 4, 2024

Conversation

kweav
Copy link
Contributor

@kweav kweav commented Dec 3, 2024

Borrowed the build and push docker workflows from ottr-docker.

@kweav kweav requested a review from cansavvy December 3, 2024 22:57
with:
push: ${{ inputs.dockerhubpush }}
context: ${{ inputs.directory }}
file: ${{ inputs.directory }}/Dockerfile
Copy link
Collaborator

Choose a reason for hiding this comment

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

This will likely need to change to wherever the dockerfile is stored for this repository.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think I set the dockerfile location as a default in manual_dispatch.yml

if: ${{ inputs.dockerhubpush != 'false' }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

We'll need to make sure these are set as secrets.

Copy link
Collaborator

@cansavvy cansavvy left a comment

Choose a reason for hiding this comment

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

LGTM!

@kweav kweav merged commit 84b616d into main Dec 4, 2024
5 checks passed
@kweav kweav deleted the docker_workflow branch December 4, 2024 18:56
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