Skip to content

build test docker image #35

build test docker image

build test docker image #35

Workflow file for this run

name: Java (build)
on:
push:
paths:
- 'visual-java/**'
- .github/workflows/java-build.yml
pull_request:
paths:
- 'visual-java/**'
- .github/workflows/java-build.yml
defaults:
run:
working-directory: visual-java
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml
build-test-docker-image:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
working-directory: ./visual-java/

Check failure on line 38 in .github/workflows/java-build.yml

View workflow run for this annotation

GitHub Actions / Java (build)

Invalid workflow file

The workflow is not valid. .github/workflows/java-build.yml (Line: 38, Col: 7): Unexpected value 'working-directory'
with:
tags: saucelabs/java-sdk
file: ./Dockerfile