diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 6f8ee03a..40cf311e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -8,6 +8,10 @@ on: jobs: main: runs-on: ubuntu-latest + permissions: + actions: read + contents: read + packages: write steps: - uses: actions/checkout@v4 with: @@ -35,7 +39,7 @@ jobs: with: registry: ghcr.io username: ${{ github.actor }} - password: ${{ secrets.GH_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push images - run: INPUT_GITHUB_TOKEN=${{ secrets.GH_TOKEN }} INPUT_PUSH=true pnpm exec nx affected -t container + run: INPUT_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} INPUT_PUSH=true pnpm exec nx affected -t container diff --git a/apps/holder-app/project.json b/apps/holder-app/project.json index 52dceb59..48c0676b 100644 --- a/apps/holder-app/project.json +++ b/apps/holder-app/project.json @@ -95,7 +95,7 @@ "options": { "engine": "docker", "metadata": { - "images": ["ghcr.io/cre8/wallet/holder-app"], + "images": ["ghcr.io/openwallet-foundation-labs/holder-app"], "load": true, "tags": ["latest"] } diff --git a/apps/holder-backend/project.json b/apps/holder-backend/project.json index e112ab4e..5f686474 100644 --- a/apps/holder-backend/project.json +++ b/apps/holder-backend/project.json @@ -34,7 +34,7 @@ "options": { "engine": "docker", "metadata": { - "images": ["ghcr.io/cre8/wallet/holder-backend"], + "images": ["ghcr.io/openwallet-foundation-labs/holder-backend"], "load": true, "tags": ["latest"] } diff --git a/apps/issuer-backend/project.json b/apps/issuer-backend/project.json index ed66b2ab..978380cc 100644 --- a/apps/issuer-backend/project.json +++ b/apps/issuer-backend/project.json @@ -34,7 +34,7 @@ "options": { "engine": "docker", "metadata": { - "images": ["ghcr.io/cre8/wallet/issuer-backend"], + "images": ["ghcr.io/openwallet-foundation-labs/issuer-backend"], "load": true, "tags": ["latest"] } diff --git a/apps/issuer-frontend/project.json b/apps/issuer-frontend/project.json index aed587d2..92945cce 100644 --- a/apps/issuer-frontend/project.json +++ b/apps/issuer-frontend/project.json @@ -95,7 +95,7 @@ "options": { "engine": "docker", "metadata": { - "images": ["ghcr.io/cre8/wallet/issuer-frontend"], + "images": ["ghcr.io/openwallet-foundation-labs/issuer-frontend"], "load": true, "tags": ["latest"] } diff --git a/apps/verifier-backend/project.json b/apps/verifier-backend/project.json index 717f3c3e..0be7b982 100644 --- a/apps/verifier-backend/project.json +++ b/apps/verifier-backend/project.json @@ -34,7 +34,7 @@ "options": { "engine": "docker", "metadata": { - "images": ["ghcr.io/cre8/wallet/verifier-backend"], + "images": ["ghcr.io/openwallet-foundation-labs/verifier-backend"], "load": true, "tags": ["latest"] } diff --git a/apps/verifier-frontend/project.json b/apps/verifier-frontend/project.json index b2aea99c..21143acc 100644 --- a/apps/verifier-frontend/project.json +++ b/apps/verifier-frontend/project.json @@ -95,7 +95,7 @@ "options": { "engine": "docker", "metadata": { - "images": ["ghcr.io/cre8/wallet/verifier-frontend"], + "images": ["ghcr.io/openwallet-foundation-labs/verifier-frontend"], "load": true, "tags": ["latest"] } diff --git a/docker-compose.yml b/docker-compose.yml index 398ed5f5..14693b66 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -92,7 +92,7 @@ services: - '5432:5432' issuer-backend: - image: ghcr.io/cre8/wallet/issuer-backend + image: ghcr.io/openwallet-foundation-labs/issuer-backend env_file: - .env environment: @@ -114,14 +114,14 @@ services: start_period: 2m issuer-frontend: - image: ghcr.io/cre8/wallet/issuer-frontend + image: ghcr.io/openwallet-foundation-labs/issuer-frontend volumes: - ./config/issuer-frontend/config.json:/usr/share/nginx/html/config.json ports: - 81:80 verifier-backend: - image: ghcr.io/cre8/wallet/verifier-backend + image: ghcr.io/openwallet-foundation-labs/verifier-backend volumes: - verifier_tmp:/app/tmp - ./config/verifier-backend:/app/templates @@ -137,14 +137,14 @@ services: start_period: 2m verifier-frontend: - image: ghcr.io/cre8/wallet/verifier-frontend + image: ghcr.io/openwallet-foundation-labs/verifier-frontend volumes: - ./config/verifier-frontend/config.json:/usr/share/nginx/html/config.json ports: - 82:80 holder-backend: - image: ghcr.io/cre8/wallet/holder-backend + image: ghcr.io/openwallet-foundation-labs/holder-backend env_file: - .env ports: @@ -157,7 +157,7 @@ services: start_period: 2m holder-frontend: - image: ghcr.io/cre8/wallet/holder-app + image: ghcr.io/openwallet-foundation-labs/holder-app volumes: - ./config/holder-frontend:/usr/share/nginx/html/assets/config ports: diff --git a/docs/development.md b/docs/development.md index aa0f9202..8d24b82e 100644 --- a/docs/development.md +++ b/docs/development.md @@ -12,6 +12,7 @@ NX as monorepo manager: NX is a great tool to manage a monorepo. It is possible ## Requirements - node v20 (https://nodejs.org/en/download/package-manager) - pnpm v8 (v9 has some issues with the nx workspace) +- editor [plugin for nx](https://nx.dev/getting-started/editor-setup) (optional) For an easy development setup, it is recommend to use vscode with the nx plugin to start tasks like building, testing and linting or to generate new code. You can also use Webstorm with the nx plugin, [see here](https://nx.dev/getting-started/editor-setup#official-integrations).