Skip to content

nomad 디플로이 테스트 8 #8

nomad 디플로이 테스트 8

nomad 디플로이 테스트 8 #8

Workflow file for this run

name: Anissia Core Nomad Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Build and package Spring Boot application with Gradle
run: |
./gradlew clean build
- name: Setup nomad-pack
uses: hashicorp/setup-nomad-pack@main
id: setup
- name: Run `nomad-pack`
id: run
run: "nomad-pack run ."
env:
NOMAD_ADDR: "${{ secrets.NOMAD_ADDR }}"
NOMAD_TOKEN: "${{ secrets.NOMAD_TOKEN }}"
continue-on-error: true