Skip to content

Commit

Permalink
docker login
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny-1651 committed Oct 20, 2024
1 parent 1bb5200 commit 29032ad
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Build
run: make build
run: |
docker login --username sunny-1651 --password ${{ steps.generate_token.outputs.token }} ghcr.io
make build
env:
VERSION: latest
# - name: Test
Expand Down

0 comments on commit 29032ad

Please sign in to comment.