change docker image in unit-test action #648
Workflow file for this run
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 test | |
on: | |
push: | |
pull_request: | |
env: | |
IMAGE_NAME: force | |
jobs: | |
push: | |
name: Test whether Docker image builds successfully | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Build image | |
run: docker build . --file Dockerfile --tag $IMAGE_NAME |