From 745d620b70ed516f47993dd4a1fef32271aa7501 Mon Sep 17 00:00:00 2001 From: Ivan Vazhenin Date: Sun, 25 Feb 2024 16:57:50 +0300 Subject: [PATCH] Add action --- .gitea/workflows/build.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..295e2ae --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,23 @@ +name: Build tileserver-gl image +run-name: Build tileserver-gl image +on: [push] + +jobs: + Build: + runs-on: ubuntu-latest + steps: + - uses: https://github.com/actions/checkout@v4 + - name: Set up Docker Buildx + uses: https://github.com/docker/setup-buildx-action@v3 + with: + config-inline: | + [registry."10.10.8.83:32000"] + http = true + insecure = true + - name: Build and push Docker image + uses: https://github.com/docker/build-push-action@v5 + with: + context: . + file: ./Dockerfile + push: true + tags: "10.10.8.83:32000/tsgl2002:latest" \ No newline at end of file