fixing docker on CI #4
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: E-commerce CI/CD | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-23.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '21' | |
distribution: 'openjdk' | |
cache: 'maven' | |
- name: Set up Docker | |
uses: docker/setup-buildx-action@v2 | |
- name: Build | |
run: | | |
chmod +x mvnw | |
make build | |
- name: Test | |
run: make test |