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:
strophy 2021-04-17 22:08:45 +02:00 committed by pasta
parent 4a883a7307
commit 6badaaafab

View File

@ -34,11 +34,18 @@ jobs:
- name: Docker meta - name: Docker meta
id: docker_meta id: docker_meta
uses: crazy-max/ghaction-docker-meta@v1 uses: crazy-max/ghaction-docker-meta@v2
with: with:
images: dashpay/dashd images: dashpay/dashd
tag-match: v(.*) tags: |
tag-match-group: 1 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 - name: Build and push
id: docker_build id: docker_build