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