Compare commits
No commits in common. "master" and "3" have entirely different histories.
2 changed files with 16 additions and 20 deletions
16
.drone.yml
Normal file
16
.drone.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
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
|
|
@ -1,20 +0,0 @@
|
|||
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…
Add table
Reference in a new issue