From 4d8a59121beb645b2cf39cad20e0ae38447d321f Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 8 Nov 2023 07:46:55 +0100 Subject: [PATCH] switch to gitea action --- .drone.yml | 14 -------------- .gitea/workflows/build-push.yaml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 14 deletions(-) delete mode 100644 .drone.yml create mode 100644 .gitea/workflows/build-push.yaml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 4a363ef..0000000 --- a/.drone.yml +++ /dev/null @@ -1,14 +0,0 @@ -kind: pipeline -type: docker -name: default - -steps: - - name: docker - image: plugins/docker - settings: - username: - from_secret: username - password: - from_secret: password - repo: git.tbrnt.ch/tobru/ioteer - auto_tag: true diff --git a/.gitea/workflows/build-push.yaml b/.gitea/workflows/build-push.yaml new file mode 100644 index 0000000..866fe2b --- /dev/null +++ b/.gitea/workflows/build-push.yaml @@ -0,0 +1,30 @@ +name: ci + +on: + push: + branches: + - 'master' + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - + name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - + name: Login to Gitea Registry + uses: docker/login-action@v3 + with: + registry: git.tbrnt.ch + username: ${{ secrets.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_TOKEN }} + - + name: Build and push + uses: docker/build-push-action@v5 + with: + push: true + tags: git.tbrnt.ch/tobru/ioteer:latest \ No newline at end of file