Skip to content

Commit

Permalink
fix: deploy from image
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinrefvol committed Jan 10, 2024
1 parent 5554123 commit 595ab73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin

- name: Publish Container Image
run: IMAGE_TAG=${{inputs.ENVIRONMENT}} docker compose push
run: ENVIRONMENT=${{inputs.ENVIRONMENT}} docker compose push
11 changes: 4 additions & 7 deletions radixconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,18 @@ spec:
- name: prod
components:
- name: web
src: .
image: ghcr.io/equinor/pepm-core-api/pepm-api:{imageTagName}
publicPort: http
ports:
- name: http
port: 3000
variables:
REACT_APP_AAD_TENANT_ID: ""
REACT_APP_AAD_CLIENT_ID: ""
REACT_APP_AAD_REDIRECT_URI: ""
REACT_APP_BACKEND_URL: ""
REACT_APP_BACKEND_API_SCOPE: ""
environmentConfig:
- environment: dev
imageTagName: dev:-latest
- environment: test
imageTagName: test:-latest
- environment: prod
imageTagName: production:-latest
- name: api
image: ghcr.io/equinor/pepm-core-api/pepm-api:{imageTagName}
publicPort: http
Expand Down

0 comments on commit 595ab73

Please sign in to comment.