auth update
This commit is contained in:
parent
d2cb5280bd
commit
74a944975d
1 changed files with 11 additions and 7 deletions
18
.github/workflows/ci.yaml
vendored
18
.github/workflows/ci.yaml
vendored
|
|
@ -27,13 +27,6 @@ jobs:
|
|||
|
||||
- name: Refresh module hashsums
|
||||
run: make tidy
|
||||
- name: Build
|
||||
run: |
|
||||
echo "${{ steps.generate_token.outputs.token }}" | docker login docker.pkg.github.com -u snskArora --password-stdin
|
||||
make build
|
||||
env:
|
||||
VERSION: latest
|
||||
AUTH: ${{ steps.generate_token.outputs.token }}
|
||||
|
||||
- name: Generate token
|
||||
id: generate_token
|
||||
|
|
@ -42,6 +35,17 @@ jobs:
|
|||
app_id: ${{ secrets.APP_ID }}
|
||||
private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: snskArora
|
||||
password: ${{ steps.generate_token.outputs.token }}
|
||||
- name: Build
|
||||
run: make build
|
||||
env:
|
||||
VERSION: latest
|
||||
|
||||
- name: Push
|
||||
run: make push
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue