add version tags

This commit is contained in:
shibao 2022-02-19 18:42:17 -05:00
parent 61829fc042
commit e6285c282b
2 changed files with 21 additions and 5 deletions

View File

@ -27,19 +27,35 @@ steps:
- npm install --prefix assets - npm install --prefix assets
- mix test - mix test
- name: build and publish - name: build and publish stable
image: plugins/docker image: plugins/docker
settings: settings:
repo: shibaobun/cannery repo: shibaobun/cannery
tags: latest
username: username:
from_secret: docker_username from_secret: docker_username
password: password:
from_secret: docker_password from_secret: docker_password
tags:
- latest
- ${DRONE_TAG}
when: when:
branch: branch:
- stable - stable
- name: build and publish tagged version
image: plugins/docker
settings:
repo: shibaobun/cannery
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- ${DRONE_TAG}
when:
event:
- tag
- name: rebuild-cache - name: rebuild-cache
image: drillster/drone-volume-cache image: drillster/drone-volume-cache
volumes: volumes:

View File

@ -1,8 +1,8 @@
# 0.2.1 # v0.2.1
- Fix checkbox spacing for mobile view - Fix checkbox spacing for mobile view
- Fix spacing with form elements in mobile view - Fix spacing with form elements in mobile view
# 0.2.0 # v0.2.0
- Add or remove tags from containers list and details page - Add or remove tags from containers list and details page
- Show tags on containers - Show tags on containers
- Add "Cannery" to page titles - Add "Cannery" to page titles
@ -12,5 +12,5 @@
- Show shot history for an ammo group - Show shot history for an ammo group
- Show ammo round totals and total shot for ammo types - Show ammo round totals and total shot for ammo types
# 0.1.0 # v0.1.0
- Initial release! - Initial release!