From 26f591fd788ae70aa6fb22125caa056f17817830 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 5 Apr 2021 15:48:30 -0400 Subject: [PATCH] update docker tags github action --- .github/workflows/docker.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 9ff04c51..ac080b4f 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -56,13 +56,16 @@ jobs: - name: Collect Docker tags id: docker_meta - uses: crazy-max/ghaction-docker-meta@v1 + uses: crazy-max/ghaction-docker-meta@v2 with: images: archivebox/archivebox,nikisweeting/archivebox - tag-sha: true - tag-semver: | - {{version}} - {{major}}.{{minor}} + flavor: | + latest=auto + tags: | + type=ref,event=branch + type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} + type=sha - name: Build and push id: docker_build