Update docker-image.yml #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: 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 GitHub Actions / Docker Image CIInvalid workflow file
|
||
- name: Build the Docker image | ||
run: docker build . --file Dockerfile --tag optimized-java-docker:$(date +%s) |