Skip to content

Commit

Permalink
docker: add workflow to test image works
Browse files Browse the repository at this point in the history
Because it is broken at the moment.

snap/bin/snapcraft: 3: exec: /snap/snapcraft/current/usr/bin/python3: not found
  • Loading branch information
abitrolly authored Sep 23, 2024
1 parent b813cee commit 3ff7b50
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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

0 comments on commit 3ff7b50

Please sign in to comment.