From d0ab236c2e013a6315351790826f000d56520e13 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sun, 7 Jul 2024 22:03:06 -0400 Subject: [PATCH] Move to gitea act --- .drone.yml | 16 ---------------- .gitea/workflows/deploy.yaml | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 16 deletions(-) delete mode 100644 .drone.yml create mode 100644 .gitea/workflows/deploy.yaml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 485de9e..0000000 --- a/.drone.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: build -kind: pipeline - -steps: - - name: docker-build - image: plugins/docker - settings: - pull_image: true - registry: docker.atomaka.com - repo: docker.atomaka.com/mdformat - tags: - - latest - - ${DRONE_TAG} - -trigger: - event: tag diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..7c15efc --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,18 @@ +name: Deploy + +on: + tag: + +jobs: + deploy: + runs-on: cth-ubuntu-latest + steps: + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Push image + uses: docker/build-push-action@v6 + with: + push: true + tags: | + docker.atomaka.com/mdformat:latest + docker.atomaka.com/mdformat:${{gitea.tag}}