From 198950b678b4ed8f921dfdaad5867237037fde80 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sun, 8 Dec 2024 14:35:48 +0100 Subject: [PATCH] CI --- .forgejo/workflows/deploy.yml | 35 ----------------------------------- .woodpecker/deploy.yml | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 35 deletions(-) delete mode 100644 .forgejo/workflows/deploy.yml create mode 100644 .woodpecker/deploy.yml diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml deleted file mode 100644 index 765e453..0000000 --- a/.forgejo/workflows/deploy.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: build - -on: - push: - branches: - - main - -jobs: - deploy: - runs-on: host - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - - name: Log in to Docker Hub - uses: docker/login-action@v2 - with: - registry: git.hydrar.de - username: ${{ secrets.registry_user }} - password: ${{ secrets.registry_password }} - - - name: Build and push Docker image - uses: docker/build-push-action@v4 - with: - context: . - platforms: linux/amd64,linux/arm64 - push: true - tags: git.hydrar.de/jmarya/chisel-forward:latest diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml new file mode 100644 index 0000000..d3e2391 --- /dev/null +++ b/.woodpecker/deploy.yml @@ -0,0 +1,15 @@ +when: + - event: push + branch: main + +steps: + - name: build + image: woodpeckerci/plugin-docker-buildx + settings: + platforms: linux/amd64,linux/arm64 + repo: git.hydrar.de/jmarya/chisel-forward + registry: git.hydrar.de + tag: latest + username: jmarya + password: + from_secret: registry_token