Skip to content

chore: update image tag #11

chore: update image tag

chore: update image tag #11

Workflow file for this run

name: Test & Build
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "src/**"
- "fixtures/**"
- "requirements.txt"
# 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 }}