thewhiteh4t / seeker

Accurately Locate Smartphones using Social Engineering
MIT License
7.1k stars 1.7k forks source link

Add GitHub action to build and push Docker image #396

Closed howiezhao closed 1 year ago

howiezhao commented 2 years ago

The image on Docker Hub has not been updated for over a year.

Now Docker Hub free account does not support automatic build, we need to trigger build through GitHub action.

So I added this GitHub action, here's the content reference https://github.com/docker/build-push-action#git-context

To make it available, you need to create two secrets DOCKERHUB_USERNAME and DOCKERHUB_TOKEN, the value of DOCKERHUB_USERNAME is your Docker Hub username, in this case it might be thewhiteh4t, the value of DOCKERHUB_TOKEN requires you to create an access token on Docker Hub, you can refer to the link here https://docs.docker.com/docker-hub/access-tokens/#create-an-access-token

Refer: https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository

Resousse commented 1 year ago

@thewhiteh4t Hey, this PR would be useful to add, to decrease the amount of manual actions