From ccd33cfbbd8e05d8917f1dc2caa580efdaa464b8 Mon Sep 17 00:00:00 2001 From: Elia Date: Thu, 15 Jun 2023 12:15:03 +0200 Subject: [PATCH] first commit --- README.md | 0 build.yaml | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 README.md create mode 100644 build.yaml diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/build.yaml b/build.yaml new file mode 100644 index 0000000..ad7db57 --- /dev/null +++ b/build.yaml @@ -0,0 +1,26 @@ +name: "Build EchoIP" +on: + schedule: + - cron: '0 12 * * *' +jobs: + build: + name: "Build EchoIP" + runs-on: ubuntu-latest + steps: + - name: "Checkout" + uses: https://github.com/actions/checkout@v3 + repository: https://github.com/mpolden/echoip + - name: "Login to Private Container Registry" + uses: https://github.com/docker/login-action@v2 + with: + registry: git.ponz.io + username: ${{ gitea.repository_owner }} + password: ${{ secrets.REG_TOKEN }} + - name: Build and push + uses: https://github.com/docker/build-push-action@v4 + with: + context: . + platforms: linux/amd64 + push: true + tags: | + git.ponz.io/elia/echoip:latest