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

View file

@ -18,6 +18,7 @@ jobs:
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}
password: ${{ secrets.PAT }} password: ${{ secrets.PAT }}
registry: ghcr.io registry: ghcr.io
repository: camptocamp/cups_exporter
push: true push: true
tag_with_ref: true tags: |
camptocamp/cups_exporter:latest
camptocamp/cups_exporter:${{ github.event.release.tag_name }}