From 3e3e5145b9f6b437a40d791d57e5126344432c85 Mon Sep 17 00:00:00 2001 From: lconsuegra Date: Thu, 7 Jan 2021 16:54:53 +0100 Subject: [PATCH] build-push-action v2 : remove deprecated options and add tags --- .github/workflows/docker-release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index e6c17c3..2f906ee 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -18,6 +18,7 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.PAT }} registry: ghcr.io - repository: camptocamp/cups_exporter push: true - tag_with_ref: true + tags: | + camptocamp/cups_exporter:latest + camptocamp/cups_exporter:${{ github.event.release.tag_name }}