mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
Update docker tags (#4103)
* feat: use github actions * use v2 meta action * adjust indentation * try conditional versions * try to remove flavor * try different order * manual suffix * manual latest * dev suffix on latest * raw latest-dev * typo * workaround latest bug * manual latest * enable build * add space * revert Dockerfile changes * use dashpay target repo
This commit is contained in:
parent
4a883a7307
commit
6badaaafab
13
.github/workflows/release_docker_hub.yml
vendored
13
.github/workflows/release_docker_hub.yml
vendored
@ -34,11 +34,18 @@ jobs:
|
||||
|
||||
- name: Docker meta
|
||||
id: docker_meta
|
||||
uses: crazy-max/ghaction-docker-meta@v1
|
||||
uses: crazy-max/ghaction-docker-meta@v2
|
||||
with:
|
||||
images: dashpay/dashd
|
||||
tag-match: v(.*)
|
||||
tag-match-group: 1
|
||||
tags: |
|
||||
type=match,pattern=v(\d+.\d+.\d+.\d+),group=1,enable=${{ !contains(github.event.release.tag_name, '-rc') }}
|
||||
type=match,pattern=v(\d+.\d+.\d+),group=1,enable=${{ !contains(github.event.release.tag_name, '-rc') }}
|
||||
type=match,pattern=v(\d+.\d+),group=1,enable=${{ !contains(github.event.release.tag_name, '-rc') }}
|
||||
type=raw,value=latest,enable=${{ !contains(github.event.release.tag_name, '-rc') }}
|
||||
type=match,pattern=v(.*),group=1,latest=false,enable=${{ contains(github.event.release.tag_name, '-rc') }}
|
||||
type=raw,value=latest-dev,enable=${{ contains(github.event.release.tag_name, '-rc') }}
|
||||
flavor: |
|
||||
latest=false
|
||||
|
||||
- name: Build and push
|
||||
id: docker_build
|
||||
|
Loading…
Reference in New Issue
Block a user