adapt workflow coz ghcr.io needs a PAT

This commit is contained in:
lconsuegra 2021-01-07 16:23:17 +01:00
parent f8cce9df4a
commit c49b6e3bb2
1 changed files with 3 additions and 3 deletions

View File

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