From bb84d6a248000737ef74afa3ca2ff5c46346219f Mon Sep 17 00:00:00 2001 From: Johan Lido Date: Tue, 29 Nov 2022 06:16:54 +0100 Subject: [PATCH 1/2] publish.yml added --- .github/workflows/publish.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/publish.yml 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 From 6c48b9af96e0164166a2045ba7354301b7cf6f55 Mon Sep 17 00:00:00 2001 From: Johan Lido Date: Tue, 29 Nov 2022 06:18:24 +0100 Subject: [PATCH 2/2] Dockerfile added --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Dockerfile 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