File tree Expand file tree Collapse file tree 5 files changed +49
-1
lines changed
Expand file tree Collapse file tree 5 files changed +49
-1
lines changed Original file line number Diff line number Diff line change 1+ # Note: universal image is not compatible with the devcontainer tools.
2+ # we use the typescript-node image instead here but should switch out per
3+ # project requirements. #REMOVE_ME_AFTER_EDITING
4+
5+ # FROM mcr.microsoft.com/devcontainers/go:1.22-bookworm
6+ # FROM mcr.microsoft.com/devcontainers/python:3.12-bookworm
7+ # FROM mcr.microsoft.com/devcontainers/php:8.3-bookworm
8+ # FROM mcr.microsoft.com/devcontainers/ruby:3.2-bookworm
9+ # FROM mcr.microsoft.com/devcontainers/java:11-bookworm
10+ # FROM mcr.microsoft.com/devcontainers/rust:1-bookworm
11+ FROM mcr.microsoft.com/devcontainers/typescript-node:22-bookworm
Original file line number Diff line number Diff line change 1+ {
2+ "build" : {
3+ "dockerfile" : " Dockerfile" ,
4+ "context" : " .."
5+ },
6+ "features" : {
7+ "ghcr.io/defanglabs/devcontainer-feature/defang-cli:1.0.4" : {},
8+ "ghcr.io/devcontainers/features/docker-in-docker:2" : {}
9+ }
10+ }
Original file line number Diff line number Diff line change 1+ name : Deploy
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : read
13+ id-token : write
14+
15+ steps :
16+ - name : Checkout Repo
17+ uses : actions/checkout@v4
18+
19+ - name : Deploy
20+ uses :
DefangLabs/[email protected] 21+ # REMOVE_ME_AFTER_EDITING - Replace the following line with the list of environment variables you want to pass to the action
22+ with :
23+ config-env-vars : ENV1 ENV2
24+ env :
25+ ENV1 : ${{ secrets.ENV1 }}
26+ ENV2 : ${{ secrets.ENV2 }}
File renamed without changes.
Original file line number Diff line number Diff line change 11services :
22 platformatic-app :
33 build :
4- context : .
4+ context : ./app
5+ dockerfile : Dockerfile
56 ports :
67 - target : 3042
78 published : 3042
You can’t perform that action at this time.
0 commit comments