1 parent 11beeb2 commit 6168c27Copy full SHA for 6168c27
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,30 @@
1
+name: Test GHCR Container
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
7
+jobs:
8
+ test-container:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v4
14
15
+ - name: Log in to GHCR
16
+ uses: docker/login-action@v3
17
+ with:
18
+ registry: ghcr.io
19
+ username: ${{ github.actor }}
20
+ password: ${{ secrets.GITHUB_TOKEN }}
21
22
+ - name: Pull container from GHCR
23
+ run: |
24
+ docker pull ghcr.io/lewisl23/presto-0.7.4:latest
25
26
+ - name: Test container runs
27
28
+ docker run --rm ghcr.io/lewisl23/presto-0.7.4:latest AssemblePairs.py --help
29
+ echo "Container works"
30
0 commit comments