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
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Push to GitHub Packages
|
- name: Push to GitHub Packages
|
||||||
uses: docker/build-push-action@v1
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.PAT }}
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
repository: camptocamp/cups_exporter
|
repository: camptocamp/cups_exporter
|
||||||
tag_with_ref: true
|
tag_with_ref: true
|
||||||
|
|
Loading…
Reference in New Issue