chore(deps): update docker.io/library/alpine docker tag to v3.21.0 #15
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: Test | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Docker build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build image | |
run: docker build -t test . | |
- name: Run image | |
run: docker run -d --name clamav test | |
- name: Verify | |
run: | | |
[ $(docker inspect clamav --format='{{.State.Running}}') = 'true' ] |