update docker tags github action

This commit is contained in:
Nick Sweeting 2021-04-05 15:48:30 -04:00 committed by GitHub
parent 84b722c2d8
commit 26f591fd78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,13 +56,16 @@ jobs:
- name: Collect Docker tags - name: Collect Docker tags
id: docker_meta id: docker_meta
uses: crazy-max/ghaction-docker-meta@v1 uses: crazy-max/ghaction-docker-meta@v2
with: with:
images: archivebox/archivebox,nikisweeting/archivebox images: archivebox/archivebox,nikisweeting/archivebox
tag-sha: true flavor: |
tag-semver: | latest=auto
{{version}} tags: |
{{major}}.{{minor}} type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha
- name: Build and push - name: Build and push
id: docker_build id: docker_build