diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..96696c528 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# EditorConfig is awesome: http://EditorConfig.org +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[{Makefile,*.mak}] +indent_size = 1 +indent_style = tab + +[*.md] +trim_trailing_whitespace = false + +[{Makefile,*.sh,*.yml}] +indent_size = 2 \ No newline at end of file diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..c86bfc182 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,15 @@ +* text=auto eol=lf whitespace=tab-in-indent,blank-at-eol,tabwidth=4 +Makefile text whitespace=-tab-in-indent,blank-at-eol,tabwidth=4 +*.eot binary +*.gif binary +*.jpeg binary +*.jpg binary +*.pdf binary +*.png binary +*.svg binary +*.ttf binary +*.woff binary +*.woff2 binary +*.zip binary +*.tgz binary +*.gz binary \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..6e3478f14 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,33 @@ +name: build + +on: + pull_request: + branches: + - main + push: + branches: + - main + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - + name: Set up QEMU + uses: docker/setup-qemu-action@v2 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + - + when: false + name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Build and push + uses: docker/build-push-action@v4 + with: + push: false + tags: infinigen:latest \ No newline at end of file