Compare commits
4 commits
Author | SHA1 | Date | |
---|---|---|---|
240a912419 | |||
20dd98b2da | |||
f629272982 | |||
d0ab236c2e |
2 changed files with 20 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
|
|
20
.gitea/workflows/deploy.yaml
Normal file
20
.gitea/workflows/deploy.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: Deploy
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
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.ref_name}}
|
Loading…
Reference in a new issue