Skip to content

Update docker-image.yml #4

Update docker-image.yml

Update docker-image.yml #4

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Check out Repo
- uses: ScribeMD/[email protected]
name: Cache Docker images
with:
key: docker-${{ runner.os }}-${{ hashFiles(paths) }}

Check failure on line 23 in .github/workflows/docker-image.yml

View workflow run for this annotation

GitHub Actions / Docker Image CI

Invalid workflow file

The workflow is not valid. .github/workflows/docker-image.yml (Line: 23, Col: 14): Unrecognized named-value: 'paths'. Located at position 11 within expression: hashFiles(paths)
- name: Build the Docker image
run: docker build . --file Dockerfile --tag optimized-java-docker:$(date +%s)