diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 8a8ee60..d6207cd 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -24,15 +24,14 @@ jobs: password: ${{ secrets.REG_TOKEN }} - name: "Checkout" - uses: https://github.com/sudosubin/git-clone-action + uses: https://github.com/actions/checkout@v3 with: - repository: mpolden/echoip - platform: "github" + submodules: "true" - name: Build and push uses: https://github.com/docker/build-push-action@v4 with: - context: /workspace/elia/buildechoip/ + context: ./echoip/ platforms: linux/amd64 push: true tags: | diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ed70d8e --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "echoip"] + path = echoip + url = https://github.com/mpolden/echoip.git diff --git a/echoip b/echoip new file mode 160000 index 0000000..d84665c --- /dev/null +++ b/echoip @@ -0,0 +1 @@ +Subproject commit d84665c26cf7df612061e9c35abe325ba9d86b8d