Skip to content

Commit

Permalink
fix: change docker names
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <[email protected]>
  • Loading branch information
cre8 committed May 30, 2024
1 parent fa193bc commit b8305da
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 14 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
jobs:
main:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
packages: write
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion apps/holder-app/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
Expand Down
2 changes: 1 addition & 1 deletion apps/holder-backend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
Expand Down
2 changes: 1 addition & 1 deletion apps/issuer-backend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
Expand Down
2 changes: 1 addition & 1 deletion apps/issuer-frontend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
Expand Down
2 changes: 1 addition & 1 deletion apps/verifier-backend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
Expand Down
2 changes: 1 addition & 1 deletion apps/verifier-frontend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
Expand Down
12 changes: 6 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand Down
1 change: 1 addition & 0 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down

0 comments on commit b8305da

Please sign in to comment.