Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# This workflow will build and publish Docker images of smahub for each push of a tag starting with "v"

---
# .github/workflows/docker-publish.yml
name: Build and publish Docker image

on:
push:
branches: [ "main" ]
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "main" ]
tags:
- v*

concurrency:
group: "publish-${{ github.head_ref || github.ref }}"
cancel-in-progress: true

env:
REGISTRY: ghcr.io
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

---
# .github/workflows/python-lint.yml
name: Run Python linter and tests

on:
Expand All @@ -9,14 +11,16 @@ on:
pull_request:
branches: [ "main" ]

concurrency:
group: "lint-${{ github.head_ref || github.ref }}"
cancel-in-progress: true

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
Expand Down
Loading