From 6a325f49512177fc339b8651772426260d88a5e4 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 28 Mar 2024 14:55:40 +0100 Subject: [PATCH] use gitea ci --- .gitea/workflows/container.yaml | 12 ++++++++++++ .gitignore | 0 .woodpecker.yml | 11 ----------- Dockerfile => Containerfile | 0 4 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 .gitea/workflows/container.yaml mode change 100755 => 100644 .gitignore delete mode 100644 .woodpecker.yml rename Dockerfile => Containerfile (100%) diff --git a/.gitea/workflows/container.yaml b/.gitea/workflows/container.yaml new file mode 100644 index 0000000..e48b3fd --- /dev/null +++ b/.gitea/workflows/container.yaml @@ -0,0 +1,12 @@ +name: Build Multiarch Container Image +on: [push] +jobs: + call-reusable-workflow: + uses: container/multiarch-build-workflow/.gitea/workflows/build.yaml@main + with: + repository: ${{ gitea.repository }} + ref_name: ${{ gitea.ref_name }} + sha: ${{ gitea.sha }} + registry_url: ${{ secrets.REGISTRY_URL }} + registry_user: ${{ secrets.REGISTRY_USER }} + registry_pw: ${{ secrets.REGISTRY_PW }} diff --git a/.gitignore b/.gitignore old mode 100755 new mode 100644 diff --git a/.woodpecker.yml b/.woodpecker.yml deleted file mode 100644 index 531fb2b..0000000 --- a/.woodpecker.yml +++ /dev/null @@ -1,11 +0,0 @@ -pipeline: - publish-docker-image: - image: plugins/kaniko - settings: - repo: docker.io/thallian/postgres - tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG=pre} - dockerfile: Dockerfile - username: - from_secret: DOCKER_USER - password: - from_secret: DOCKER_PW \ No newline at end of file diff --git a/Dockerfile b/Containerfile similarity index 100% rename from Dockerfile rename to Containerfile