Skip to content

docker: add workflow to test image works #1

docker: add workflow to test image works

docker: add workflow to test image works #1

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file docker/Dockerfile --tag snapcraft:test
- name: Test the image works
run: docker run snapcraft:test snapcraft version