build-push-action v2 : remove deprecated options and add tags
This commit is contained in:
parent
117784dde8
commit
3e3e5145b9
5
.github/workflows/docker-release.yml
vendored
5
.github/workflows/docker-release.yml
vendored
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue