We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a75550d commit 34b34b1Copy full SHA for 34b34b1
.github/workflows/docker-latest.yml
@@ -0,0 +1,25 @@
1
+name: Docker latest
2
+on:
3
+ push:
4
+ branches: [ "main" ]
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-22.04
8
+ if: startsWith(github.ref, 'refs/heads/main')
9
+ steps:
10
+ - uses: actions/checkout@v3
11
+ - uses: docker/login-action@v1.12.0
12
+ with:
13
+ username: dprohe
14
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
15
+ - uses: docker/build-push-action@v2.8.0
16
17
+ push: true
18
+ tags: dprohe/sdynpy:latest
19
+ - run: sleep 500s
20
+ test:
21
+ needs: build
22
23
+ container: dprohe/sdynpy
24
25
+ - run: python -m pytest --verbose src/sdynpy
0 commit comments