Skip to content

Commit

Permalink
Merge pull request #3 from significa/improve-ci-cd
Browse files Browse the repository at this point in the history
Improve CI/CD: added linting and shared action
  • Loading branch information
tofran authored Mar 14, 2024
2 parents 2032728 + bf1823e commit a612e13
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 77 deletions.
77 changes: 0 additions & 77 deletions .github/workflows/build.yaml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI/CD

on:
push:
branches:
- main
pull_request:
release:
types:
- published
workflow_dispatch:

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: '3.12 '
cache: 'pip'

- run: make install-deps

- run: make lint

build_and_push:
name: Build and push image
needs:
- lint
permissions:
contents: read
id-token: write
packages: write
uses: significa/actions/.github/workflows/docker-image.yaml@main
with:
image_name: ipa-app-distribution-server

0 comments on commit a612e13

Please sign in to comment.