diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml new file mode 100644 index 0000000..dd6294a --- /dev/null +++ b/.github/workflows/docker.yml @@ -0,0 +1,18 @@ +name: Publish Docker image +on: + push: + branches: [master] +jobs: + push_to_registry: + name: Push Docker image to Docker Hub + runs-on: ubuntu-latest + steps: + - name: Check out the repo + uses: actions/checkout@v2 + - name: Push to Docker Hub + uses: docker/build-push-action@v1 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + repository: andrewerr/meowmeow-beta + tag_with_ref: true diff --git a/README.md b/README.md index 431527f..370bfb0 100755 --- a/README.md +++ b/README.md @@ -61,3 +61,4 @@ The directives currently supported by server: ## Code copyrighting The code copyrightings defined in the files in `src/` directory are not legal advice and purposed for internal use only. All code licensed under MIT license(See [LICENSE](LICENSE) for more information) +