Skip to content

Commit

Permalink
use personal access token for cd
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <[email protected]>
  • Loading branch information
Mirko Mollik committed May 24, 2024
1 parent e776a5f commit c5685af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ on:
branches:
- main

permissions:
actions: read
contents: read
packages: write

jobs:
main:
runs-on: ubuntu-latest
Expand All @@ -36,7 +31,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.GH_TOKEN }}

- name: Build and push images
run: INPUT_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} pnpm exec nx affected -t container
run: INPUT_GITHUB_TOKEN=${{ secrets.GH_TOKEN }} pnpm exec nx affected -t container
1 change: 0 additions & 1 deletion apps/issuer-backend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"dependsOn": ["build"],
"options": {
"engine": "docker",
"push": true,
"metadata": {
"images": ["ghcr.io/cre8/wallet/issuer-backend"],
"load": true,
Expand Down

0 comments on commit c5685af

Please sign in to comment.