adapt workflow coz ghcr.io needs a PAT
This commit is contained in:
parent
f8cce9df4a
commit
c49b6e3bb2
|
@ -13,10 +13,10 @@ jobs:
|
|||
- name: Check out the repo
|
||||
uses: actions/checkout@v2
|
||||
- name: Push to GitHub Packages
|
||||
uses: docker/build-push-action@v1
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.PAT }}
|
||||
registry: ghcr.io
|
||||
repository: camptocamp/cups_exporter
|
||||
tag_with_ref: true
|
||||
|
|
Loading…
Reference in New Issue