diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 000000000..33ffa291a --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,19 @@ +name: Publish to Docker +on: + push: + branches: + - main +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + # Add your test steps here if needed... + - name: Build container + uses: docker/build-push-action@v1 + with: + username: YOURNAME + password: ${{ secrets.GITHUB_TOKEN }} + registry: docker.pkg.github.com + repository: johanlido/publish-packages/game + tag_with_sha: true \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..708c25544 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,2 @@ +FROM nginx:1.17 +COPY . /usr/share/nginx/html