mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2024-09-19 15:28:52 -04:00
Switch to runner based authentication
This commit is contained in:
parent
5109446ce5
commit
d1db33f24b
1 changed files with 5 additions and 2 deletions
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
|
@ -12,6 +12,9 @@ on:
|
|||
jobs:
|
||||
bake:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2.3.4
|
||||
|
@ -30,8 +33,8 @@ jobs:
|
|||
uses: docker/login-action@v1.10.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: pykmsorgadmin
|
||||
password: ${{ secrets.GHCR_PASSWORD }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Build
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue