File tree Expand file tree Collapse file tree 2 files changed +16
-6
lines changed
Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build and publish Docker images of smahub for each push of a tag starting with "v"
2+
3+ ---
4+ # .github/workflows/docker-publish.yml
15name : Build and publish Docker image
26
37on :
48 push :
5- branches : [ "main" ]
6- tags : [ 'v*.*.*' ]
7- pull_request :
8- branches : [ "main" ]
9+ tags :
10+ - v*
11+
12+ concurrency :
13+ group : " publish-${{ github.head_ref || github.ref }}"
14+ cancel-in-progress : true
915
1016env :
1117 REGISTRY : ghcr.io
Original file line number Diff line number Diff line change 11# This workflow will install Python dependencies, run tests and lint with a single version of Python
22# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
33
4+ ---
5+ # .github/workflows/python-lint.yml
46name : Run Python linter and tests
57
68on :
911 pull_request :
1012 branches : [ "main" ]
1113
14+ concurrency :
15+ group : " lint-${{ github.head_ref || github.ref }}"
16+ cancel-in-progress : true
17+
1218permissions :
1319 contents : read
1420
1521jobs :
1622 build :
17-
1823 runs-on : ubuntu-latest
19-
2024 steps :
2125 - uses : actions/checkout@v4
2226 - name : Set up Python 3.10
You can’t perform that action at this time.
0 commit comments