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

build: Add github actions docker image build for populating database #103

Open
lsetiawan opened this issue Sep 25, 2024 · 0 comments · May be fixed by #110 or uw-ssec/docker-images#56
Open

build: Add github actions docker image build for populating database #103

lsetiawan opened this issue Sep 25, 2024 · 0 comments · May be fixed by #110 or uw-ssec/docker-images#56
Assignees

Comments

@lsetiawan
Copy link
Member

lsetiawan commented Sep 25, 2024

Overview

Currently, the image build process for populating the database happens locally as seen in

cmd = "docker build -t pdc/populate_db:1.0 -f deployment/docker/populate_db.Dockerfile ."

This requires that the whole git repo is cloned. I think it might be better if we have a github action that builds this and only occurs with changes in https://github.com/uw-ssec/post-disaster-comms/tree/main/src/support_sphere_py

See https://github.com/uw-ssec/docker-images/blob/main/.github/workflows/build.yml for an example of a github action that builds a docker image and push to the uw-ssec org github container registry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants