Skip to content

Update Dockerfile

Update Dockerfile #5

Workflow file for this run

name: Deploy to cloudtype
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Connect deploy key
uses: cloudtype-github-actions/connect@v1
with:
token: ${{ secrets.CLOUDTYPE_TOKEN }}
ghtoken: ${{ secrets.GHP_TOKEN }}
- name: Deploy
uses: cloudtype-github-actions/deploy@v1
with:
token: ${{ secrets.CLOUDTYPE_TOKEN }}
project: cloudtype-tutorial/github-actions
stage: main
yaml: |
name: springboot-crud-example
app: java@17
options:
ports: 8080
env:
- name: JAVA_OPTS
value: -Xms256m -Xmx512m
- name: SPRING_PROFILES_ACTIVE
value: dev
buildenv: []
context:
git:
url: [email protected]:${{ github.repository }}.git
ref: ${{ github.ref }}
preset: java-springboot