Skip to content

feat: detect cred def id based on env, fix apple bug, enable verdict … #21

feat: detect cred def id based on env, fix apple bug, enable verdict …

feat: detect cred def id based on env, fix apple bug, enable verdict … #21

Workflow file for this run

name: Test & Build
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "src/**"
# defaults:
# run:
# working-directory: ./web
env:
REGISTRY: ghcr.io
jobs:
quality:
runs-on: ubuntu-latest
permissions:
packages: read
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
# - name: Run tests
# run: |
# pip install -r requirements.txt
# pytest
build:
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
needs: [quality]
steps:
- uses: actions/checkout@v4
- name: Build Docker image
uses: ./.github/actions/docker-build
with:
registry: ${{ env.REGISTRY }}
image_name: "${{ github.repository }}/controller"
context: ./
dockerfile: "Dockerfile"
docker_user: ${{ github.actor }}
docker_password: ${{ secrets.GITHUB_TOKEN }}