build-push-action v2 : remove deprecated options and add tags

This commit is contained in:
lconsuegra 2021-01-07 16:54:53 +01:00
parent 117784dde8
commit 3e3e5145b9
1 changed files with 3 additions and 2 deletions

View File

@ -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 }}