From 1c3ece024ae2755c0837a3524b28c07504915f54 Mon Sep 17 00:00:00 2001 From: Pablo Mendez Date: Tue, 1 Jul 2025 17:11:21 +0200 Subject: [PATCH] add upstream --- .github/workflows/auto_check.yml | 31 +++++++++++++++++++++++++++++++ .github/workflows/main.yml | 29 +++++++++++++++++++++++++++++ Dockerfile | 2 +- 3 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/auto_check.yml create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/auto_check.yml b/.github/workflows/auto_check.yml new file mode 100644 index 0000000..9a585db --- /dev/null +++ b/.github/workflows/auto_check.yml @@ -0,0 +1,31 @@ +name: "Main" +on: + pull_request: + push: + branches: + - "master" + - "main" + - "v[0-9]+.[0-9]+.[0-9]+" + paths-ignore: + - "README.md" + +jobs: + build-test: + runs-on: ubuntu-latest + name: Build test + if: github.event_name != 'push' + steps: + - uses: actions/checkout@v2 + - run: npx @dappnode/dappnodesdk build --skip_save + + release: + name: Release + runs-on: ubuntu-latest + if: github.event_name == 'push' + steps: + - uses: actions/checkout@v2 + - name: Publish + run: npx @dappnode/dappnodesdk publish patch --dappnode_team_preset + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DEVELOPER_ADDRESS: "0xf35960302a07022aba880dffaec2fdd64d5bf1c1" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..4c0aab4 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,29 @@ +name: "Main" +on: + pull_request: + push: + branches: + - "main" + paths-ignore: + - "README.md" + +jobs: + build-test: + runs-on: ubuntu-latest + name: Build test + if: github.event_name != 'push' + steps: + - uses: actions/checkout@v4 + - run: npx @dappnode/dappnodesdk build --skip_save + + release: + name: Release + runs-on: ubuntu-latest + if: github.event_name == 'push' + steps: + - uses: actions/checkout@v4 + - name: Publish + run: npx @dappnode/dappnodesdk publish patch --dappnode_team_preset + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DEVELOPER_ADDRESS: "0xf35960302a07022aba880dffaec2fdd64d5bf1c1" diff --git a/Dockerfile b/Dockerfile index d8e3357..4cbbefc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,2 @@ -ARG UPSTREAM_VERSION_PORTAINER=2.27.7 +ARG UPSTREAM_VERSION_PORTAINER FROM portainer/portainer-ce:${UPSTREAM_VERSION_PORTAINER} \ No newline at end of file