Move to gitea act
This commit is contained in:
parent
839591bd2d
commit
d0ab236c2e
2 changed files with 18 additions and 16 deletions
16
.drone.yml
16
.drone.yml
|
@ -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
|
18
.gitea/workflows/deploy.yaml
Normal file
18
.gitea/workflows/deploy.yaml
Normal file
|
@ -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}}
|
Loading…
Reference in a new issue