Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
CI: add workflow for building image
Browse files Browse the repository at this point in the history
  • Loading branch information
agarciadom committed Dec 2, 2024
1 parent c3218da commit 08cf671
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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: ./download-backend.sh
- name: Build the Docker image
run: docker build . --file Dockerfile --tag playground-docker:$(date +%s)

0 comments on commit 08cf671

Please sign in to comment.