This repository has been archived by the owner on Dec 3, 2024. It is now read-only.
Use Micronaut backend #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Download the backend JAR | |
run: mvn -B dependency:copy-dependencies -DexcludeTransitive=true | |
- name: Build the Docker image | |
run: docker build --tag playground-docker:$(date +%s) . |